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 x86_64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-199091-13922/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 x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/clang-17.0.6-4.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 x86_64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-199091-13922/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FegzAj + 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). + echo 'Patch #3003 (cfg.patch):' 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.0Uld4Q + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 x86_64-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-4.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.1s) -- Generating done (0.8s) 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/x86_64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build x86_64-OpenCloudOS-linux-gnu -j32 --verbose [1/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_builtin_vars.h [2/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_cmath.h [3/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_complex_builtins.h [4/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_intrinsics.h [5/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_libdevice_declares.h [6/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_device_functions.h [7/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math.h [8/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math_forward_declares.h [9/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_runtime_wrapper.h [10/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_texture_intrinsics.h [11/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_cmath.h [12/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_libdevice_declares.h [13/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_math.h [14/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_stdlib.h [15/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_runtime_wrapper.h [16/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_pclmul.h [17/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_aes.h [18/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/adxintrin.h [19/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxcomplexintrin.h [20/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ammintrin.h [21/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/altivec.h [22/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxfp16intrin.h [23/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxintrin.h [24/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx2intrin.h [25/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bf16intrin.h [26/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bitalgintrin.h [27/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512cdintrin.h [28/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bwintrin.h [29/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512dqintrin.h [30/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512erintrin.h [31/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fintrin.h [32/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fp16intrin.h [33/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmaintrin.h [34/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmavlintrin.h [35/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512pfintrin.h [36/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmiintrin.h [37/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmi2intrin.h [38/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmivlintrin.h [39/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbitalgintrin.h [40/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbf16intrin.h [41/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbwintrin.h [42/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlcdintrin.h [43/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vldqintrin.h [44/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlfp16intrin.h [45/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvbmi2intrin.h [46/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlintrin.h [47/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvnniintrin.h [48/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvp2intersectintrin.h [49/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vnniintrin.h [50/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vp2intersectintrin.h [51/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqvlintrin.h [52/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxifmaintrin.h [53/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqintrin.h [54/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxintrin.h [55/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxneconvertintrin.h [56/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint16intrin.h [57/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint8intrin.h [58/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniintrin.h [59/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmi2intrin.h [60/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmiintrin.h [61/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/builtins.h [62/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cldemoteintrin.h [63/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cet.h [64/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cetintrin.h [65/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clflushoptintrin.h [66/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clwbintrin.h [67/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clzerointrin.h [68/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cmpccxaddintrin.h [69/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cpuid.h [70/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/crc32intrin.h [71/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/algorithm [72/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.h [73/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc [74/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h [75/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/complex [76/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/new [77/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/cmath [78/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/emmintrin.h [79/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/enqcmdintrin.h [80/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/f16cintrin.h [81/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [82/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fma4intrin.h [83/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fmaintrin.h [84/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fxsrintrin.h [85/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/gfniintrin.h [86/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_circ_brev_intrinsics.h [87/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_types.h [88/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_protos.h [89/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl.h [90/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hresetintrin.h [91/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmintrin.h [92/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmxlintrin.h [93/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hvx_hexagon_protos.h [94/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ia32intrin.h [95/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/immintrin.h [96/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/intrin.h [97/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/invpcidintrin.h [98/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/keylockerintrin.h [99/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/larchintrin.h [100/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lasxintrin.h [101/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdio.h [102/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lsxintrin.h [103/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lwpintrin.h [104/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lzcntintrin.h [105/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm3dnow.h [106/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm_malloc.h [107/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mmintrin.h [108/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/movdirintrin.h [109/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/msa.h [110/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mwaitxintrin.h [111/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/nmmintrin.h [112/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pconfigintrin.h [113/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/math.h [114/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pmmintrin.h [115/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c.h [116/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/popcntintrin.h [117/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pkuintrin.h [118/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmi2intrin.h [119/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/emmintrin.h [120/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmiintrin.h [121/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/immintrin.h [122/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mm_malloc.h [123/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mmintrin.h [124/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/pmmintrin.h [125/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/smmintrin.h [126/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/tmmintrin.h [127/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86gprintrin.h [128/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86intrin.h [129/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchiintrin.h [130/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchwintrin.h [131/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/xmmintrin.h [132/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ptwriteintrin.h [133/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/raointintrin.h [134/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdpruintrin.h [135/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdseedintrin.h [136/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/s390intrin.h [137/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/serializeintrin.h [138/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rtmintrin.h [139/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sgxintrin.h [140/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sha512intrin.h [141/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm3intrin.h [142/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm4intrin.h [143/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/shaintrin.h [144/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tbmintrin.h [145/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/smmintrin.h [146/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tsxldtrkintrin.h [147/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tmmintrin.h [148/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/uintrintrin.h [149/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vaesintrin.h [150/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin.h [151/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vecintrin.h [152/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_approx.h [153/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_gen.h [154/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wbnoinvdintrin.h [155/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vpclmulqdqintrin.h [156/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wasm_simd128.h [157/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/waitpkgintrin.h [158/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xmmintrin.h [159/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xopintrin.h [160/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wmmintrin.h [161/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86intrin.h [162/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86gprintrin.h [163/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavecintrin.h [164/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveoptintrin.h [165/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavesintrin.h [166/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveintrin.h [167/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xtestintrin.h [168/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 [169/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 [170/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/x86_64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/HTMLLogger.inc HTMLLogger.html HTMLLogger.css HTMLLogger.js [171/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 [172/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [173/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/ [174/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [175/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-build/ [176/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/man/man1/ [177/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-build/ [178/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/ [179/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/ [180/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/scan-build-py [181/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libear/ [182/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [183/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libear/ [184/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [185/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libear/ [186/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [187/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [188/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [189/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [190/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [192/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [193/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-view/ [194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/ [195/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [196/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [197/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/libexec/ [198/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [199/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [200/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [201/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-view/ [202/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-view/ [203/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/share/scan-view/ [204/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/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool/HTMLForestResources.inc HTMLForest.css HTMLForest.js HTMLForest.html [205/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/docs [206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [216/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [218/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [219/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/Confusables.inc [220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [221/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 && : [222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [233/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [235/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [236/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [237/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [238/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [239/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [240/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [241/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [242/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [243/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [244/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [245/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [246/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [247/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [248/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [249/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [250/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [251/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [252/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [253/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [254/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [255/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [256/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [257/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [258/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [259/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [260/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [261/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [262/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [263/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [264/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [265/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [266/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [267/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [268/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [269/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [270/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [271/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [272/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [273/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [274/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [275/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [276/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [277/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [278/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [279/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [280/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [281/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_acle.h [282/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm64intr.h [283/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [284/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [285/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cmse.h [286/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon_sve_bridge.h [287/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/armintr.h [288/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_ntlh.h [289/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [290/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [291/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [292/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [293/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [294/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [295/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [296/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [297/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [298/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [299/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [300/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [301/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [302/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [303/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [304/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [305/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [306/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [307/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [308/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [309/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [310/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [311/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [312/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [313/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [314/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [315/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [316/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__stddef_max_align_t.h [320/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_bf16.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_bf16.h [321/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_cde.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cde.h [322/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_fp16.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_fp16.h [323/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_mve.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_mve.h [324/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_neon.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon.h [325/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_sme_draft_spec_subject_to_change.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/arm_sve.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sve.h [327/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/float.h [328/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_basic_types.h [329/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_intrinsics.h [330/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/inttypes.h [331/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/iso646.h [332/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/limits.h [333/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/ctype.h [334/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/inttypes.h [335/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdlib.h [336/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/string.h [337/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/module.modulemap [338/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c-base.h [339/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/cmath [341/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex [342/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex.h [343/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex_cmath.h [344/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/new [345/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Headers/riscv_vector.h /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_vector.h [346/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sifive_vector.h [347/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdalign.h [348/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdarg.h [349/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdatomic.h [350/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdbool.h [351/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stddef.h [352/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdint.h [353/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdnoreturn.h [354/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tgmath.h [355/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/unwind.h [356/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vadefs.h [357/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/varargs.h [358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [416/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [437/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [438/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [484/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 && : [485/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 && : [486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [496/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 && : [497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [548/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [554/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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; | ^ [568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 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/APValue.h:16, 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/AST/Interp/ByteCodeGenError.h:12, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.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::InitGlobalTemp<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]' 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 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)9, clang::interp::Floating>(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/Program.h:196:11: note: at offset 48 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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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; | ^ [575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [623/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 && : [624/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 && : [625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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; | ^~~~ [694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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)) | ^~~~~~~~~~~ [767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [771/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 && : [772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [775/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 && : [776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [782/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 && : [783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [801/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [877/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [908/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 && : [909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [912/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [913/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [914/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [915/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [916/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [917/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [918/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [919/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [920/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [921/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [922/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [923/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [924/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [925/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [926/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [927/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [928/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [929/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [930/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [931/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [932/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 && : [933/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 && : [934/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [935/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [936/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [937/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [938/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [939/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [940/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [941/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [942/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [943/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [944/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [945/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [946/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [947/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [948/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [949/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [950/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [951/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [952/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [953/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [954/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [955/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [956/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [957/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [958/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [959/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [960/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [961/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [962/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [963/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [964/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [965/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [966/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [967/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [968/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [969/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [970/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [971/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [972/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [973/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [974/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [975/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [976/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [977/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [978/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [979/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [980/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [981/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [984/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [985/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [989/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [990/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [991/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [992/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [993/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [994/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [995/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [996/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [997/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [998/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [999/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1000/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1001/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1002/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1003/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1004/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1005/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1006/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1007/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1008/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1009/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1010/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1011/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1012/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1013/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1014/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1015/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1016/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1017/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1018/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1019/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1020/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1021/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1022/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1023/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1024/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1025/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1026/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1027/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1028/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1029/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1030/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1031/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1032/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1033/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1034/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 && : [1035/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1036/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 && : [1037/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1038/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1039/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1040/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1041/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1042/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1043/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1044/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1045/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 && : [1046/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 && : [1047/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1048/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1049/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1050/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1051/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1052/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1053/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 && : [1054/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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; | ^ [1055/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1056/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 && : [1057/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1058/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1059/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1060/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1061/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1062/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1063/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1064/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1065/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1066/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1067/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1068/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1069/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1070/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1071/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1072/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 && : [1073/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 && : [1074/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1075/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1076/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1077/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1078/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1079/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1080/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1081/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1082/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1083/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1084/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1085/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1086/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1087/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1088/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1089/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1090/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1091/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1092/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1093/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1094/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1095/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1096/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1097/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1098/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1099/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1100/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1101/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1102/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1103/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1104/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1105/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1106/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1107/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1108/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1109/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1110/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1111/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1112/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1113/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1114/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1115/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1116/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1117/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1118/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1119/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1120/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1121/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1122/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1123/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1124/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1125/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1126/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1127/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1128/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1129/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1130/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1131/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1132/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1133/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1134/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1135/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1136/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1137/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1138/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1139/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1140/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1141/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1142/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1143/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1144/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1145/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1146/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1147/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1148/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1149/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1150/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1151/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1152/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1153/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1154/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1155/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1156/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1157/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1158/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1159/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1160/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1161/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1162/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1163/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1164/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1165/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1166/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1167/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1168/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1169/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1170/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1171/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1172/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1173/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1174/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1175/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1176/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1177/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1178/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1179/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1180/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1181/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1182/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1183/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1184/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1185/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1186/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1187/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1188/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [1189/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 [1190/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [1192/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1193/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1194/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1195/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1196/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1197/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1198/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1199/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1200/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1201/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1202/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1203/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1204/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1205/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1216/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 && : [1217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1218/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1219/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1225/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 && : [1226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1231/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 && : [1232/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1233/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 && : [1234/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1235/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1236/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1237/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1238/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1239/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1240/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1241/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1242/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1243/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1244/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1245/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1246/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1247/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1248/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1249/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1250/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1251/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1252/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1253/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1254/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1255/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1256/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1257/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1258/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1259/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1260/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1261/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1262/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1263/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1264/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1265/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1266/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1267/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1268/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1269/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1270/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1271/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1272/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1273/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1274/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1275/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1276/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1277/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1278/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1279/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1280/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1281/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1282/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1283/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1284/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1285/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1286/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1287/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1288/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1289/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1290/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1291/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1292/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1293/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1294/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1295/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1296/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1297/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1298/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1299/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1300/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1301/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1302/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1303/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1304/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1305/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1306/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1307/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1308/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1309/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1310/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1311/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1312/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1313/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1314/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1315/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1316/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1317/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1318/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1319/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1320/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1321/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1322/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1323/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1324/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1325/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1326/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1327/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1328/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1329/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1330/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1331/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1332/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1333/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1334/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1335/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1336/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1337/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1338/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1339/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1340/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1341/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1342/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1343/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1344/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1345/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1346/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1347/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1348/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1349/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1350/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1351/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1352/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1353/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1354/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1355/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1356/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1357/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1359/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1361/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1365/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [1366/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [1367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1369/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 [1370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1397/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b man -d /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/x86_64-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)) [1398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1399/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b html -d /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/x86_64-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)) [1400/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/docs/html/LibASTMatchersReference.html [1401/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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; | 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; | /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 function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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; | [1402/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 && : [1403/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 && : [1404/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 && : [1405/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Tooling && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux -I /usr/include/c++/12/backward -I /usr/lib/gcc/x86_64-OpenCloudOS-linux/12/include -I /usr/local/include -I /usr/include --json-output-path /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json [1406/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/Tooling/NodeIntrospection.inc /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/Tooling/NodeIntrospection.inc [1407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp [1409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1413/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 && : [1414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1416/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 && : [1417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/x86_64-OpenCloudOS-linux-gnu/tools/clang-scan-deps/clang-scan-deps-driver.cpp [1419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1420/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 && : [1421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1422/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/x86_64-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 && : [1423/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 && : [1424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1425/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 [1426/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 && : [1427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1430/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 [1431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1435/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 && : [1436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1437/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1438/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1473/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 && : [1474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1475/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 && : [1476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1480/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 && : [1481/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 && : [1482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1548/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1603/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 && : [1604/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 && : [1605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1607/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 && : [1608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1620/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1621/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 && : [1622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1657/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1774/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clangd --filename CompletionModel --cpp_class clang::clangd::Example [1775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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) { | ~~~~~~~~~~~~~~~~^~~~~ [1776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1791/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1801/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1877/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/clangd/CompletionModel.cpp [1906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1912/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 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) | ^ 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; | /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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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; | [1913/2015] /usr/bin/cmake -E cmake_symlink_library lib64/libclang-cpp.so.17 lib64/libclang-cpp.so.17 lib64/libclang-cpp.so && : [1914/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 && : [1915/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 && : [1916/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 && : [1917/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/x86_64-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 && : [1918/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1919/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1920/2015] /usr/bin/cmake -E cmake_symlink_executable bin/clang-17 bin/clang && cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./bin/clang++ && cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./bin/clang-cl && cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/./bin/clang-cpp [1921/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1922/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1923/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1924/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1925/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1926/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1927/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1928/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1929/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1930/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1931/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1932/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1933/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1934/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 && : [1935/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 && : [1936/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1937/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1938/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1939/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 && : [1940/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 && : [1941/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 && : [1942/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1943/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 && : [1944/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 && : [1945/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 && : [1946/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 && : [1947/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 && : [1948/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 && : [1949/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 && : [1950/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 && : [1951/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 && : [1952/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 && : [1953/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 && : [1954/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 && : [1955/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 && : [1956/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 && : [1957/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 && : [1958/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 && : [1959/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 && : [1960/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 && : [1961/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 && : [1962/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 && : [1963/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 && : [1964/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1965/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 && : [1966/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1967/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 && : [1968/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1969/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 && : [1970/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 && : [1971/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1972/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1973/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 && : [1974/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1975/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 && : [1976/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1977/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 && : [1978/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 && : [1979/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 && : [1980/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 && : [1981/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXBNF.inc [1982/2015] cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXSymbols.inc [1983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1984/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1985/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-4.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1989/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 && : [1990/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 && : [1991/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 && : [1992/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 && : [1993/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 && : [1994/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 && : [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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 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; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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; | /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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 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; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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; | [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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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; | ^ 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; | /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 function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/x86_64-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.LFAm5m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 + cd clang-17.0.6.src + DESTDIR=/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 + /usr/bin/cmake --install x86_64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Support/RISCVVIntrinsicUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/HTMLRewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/TokenRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/RewriteRope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/RewriteBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/Rewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Core/DeltaTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Frontend/FixItRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Frontend/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Rewrite/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Format/Format.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Testing -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Testing/CommandLineArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Testing/TestClangConfig.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Testing/TestAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/DirectoryWatcher -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/DirectoryWatcher/DirectoryWatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Interpreter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Interpreter/PartialTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Interpreter/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Interpreter/Interpreter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/IndexingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/IndexSymbol.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/IndexingOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/DeclOccurrence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/USRGeneration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/IndexDataConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Index/CommentToXML.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/APINotes -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/APINotes/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/APINotes/APINotesYAMLCompiler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/MacroExpansionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ReachableCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyLogical.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/CalledOnceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafety.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/Consumed.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/IntervalPartition.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/UninitializedValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/Dominators.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyOps.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyTIL.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ThreadSafetyUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/PostOrderCFGView.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Analyses/LiveVariables.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/Support/BumpVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/AnalysisDeclContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/CodeInjector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/ConstructionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/StorageLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Arena.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DebugSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Models -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Transfer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/ControlFlowContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Solver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowWorklist.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/RecordOps.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Formula.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/NoopLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/MatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/Logger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/NoopAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/FlowSensitive/MapLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/BodyFarm.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/CallGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/CFGStmtMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/CloneDetection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/ProgramPoint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/AnyCall.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/RetainSummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/SelectorExtras.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/CFG.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/DomainSpecific -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/DomainSpecific/CocoaConventions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/PathDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Analysis/IssueHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/IndexSerialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/IndexSerialization/SerializablePathCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ARCMigrate -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ARCMigrate/FileRemapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ARCMigrate/ARCMT.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ARCMigrate/ARCMTActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Tool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Action.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/InputInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Job.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/XRayArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Util.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/OffloadBundler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/OptionUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/MultilibBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/ToolChain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Multilib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Types.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Driver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Options.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/SanitizerArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Distro.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Compilation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/DriverDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Phases.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/SourceLocationEncoding.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTRecordReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTDeserializationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ModuleFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTRecordWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTBitCodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/SerializationDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/GlobalModuleIndex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ContinuousRangeMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ModuleManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/InMemoryModuleCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/TypeBitCodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ModuleFileExtension.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/ASTReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/LoopHint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/ParseDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/ParseAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/RAIIObjectsForParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/FrontendTool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/FrontendTool/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/ASTMatchFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/ASTMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/ASTMatchersInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/Dynamic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/Dynamic/Diagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/Dynamic/Registry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/Dynamic/VariantValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/Dynamic/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/GtestMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ASTMatchers/ASTMatchersMacros.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/MultiplexExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/CleanupInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/EnterExpressionEvaluationContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/IdentifierResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/ObjCMethodList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Sema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Designator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/DeclSpec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/ParsedAttr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/ScopeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaFixItUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Weak.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/RISCVIntrinsicManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/ExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/TemplateInstCallback.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Initialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Template.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/HLSLExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AnalysisBasedWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Overload.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/ParsedTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Scope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Ownership.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/CXXFieldCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/CodeCompleteConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/DelayedDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/SemaInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/TypoCorrection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/CodeCompleteOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/TemplateDeduction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/NodeIntrospection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/AllTUsExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/RangeSelector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/MatchConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/RewriteRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/Transformer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/SourceCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/Parsing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/Stencil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Transformer/SourceCodeBuilders.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningService.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/DiagnosticsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ArgumentsAdjusters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/CommonOptionsParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Inclusions -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Inclusions/HeaderIncludes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Inclusions/StandardLibrary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Inclusions/HeaderAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Inclusions/IncludeStyle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Execution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ReplacementsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ToolExecutorPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/JSONCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/FileMatchTrie.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/Tree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/Tokens.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/Mutations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/TokenBufferTokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/TokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/Nodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/BuildTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/CompilationDatabasePluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Extract -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Extract/Extract.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/AtomicChange.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/SymbolName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/RenamingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/USRFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringRuleContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/ASTSelection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringOption.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringActionRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringActionRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Core/Replacement.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Core/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/FixIt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/StandaloneExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/RefactoringCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Tooling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/CompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ASTDiff -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ASTDiff/ASTDiff.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/ASTDiff/ASTDiffInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/IgnoreExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTImporterSharedState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/UnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/PrettyDeclStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/OperationKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExprCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TemplateName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CharUnits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/APValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/JSONNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/EvaluatedExprVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/LocInfoType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/RecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/RawCommentList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractTypeReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/GlobalDecl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTImporterLookupTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/VTTBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ComputeDependence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/SelectorLocationsKind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTImporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Decl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeOrdering.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/OpenMPClause.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclLookups.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/PrettyPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DependentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DataCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTImportError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractBasicWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentCommandTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclContextInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeLocVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Expr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Randstruct.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/OSLog.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractBasicReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExternalASTSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ComparisonCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Mangle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/NonTrivialTypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/NestedNameSpecifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/OptionalDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Comment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTDumperUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CXXInheritance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExprOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTContextAllocate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Attr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTNodeTraverser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclObjCCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/NSAPI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTUnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExprConcepts.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/QualTypeNames.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtGraphTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ParentMapContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/BuiltinTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ODRHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclAccessPair.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTStructuralEquivalence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Type.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/OperationKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CXXRecordDeclDefinitionBits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CanonicalType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/LambdaCapture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Stmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TemplateArgumentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ParentMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Availability.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TemplateBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeLocNodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTFwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractTypeWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExprObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DependenceFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ODRDiagsEmitter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclFriend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TextNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclarationName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTMutationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/FormatString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/BaseSubobject.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Redeclarable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/RecordLayout.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/VTableBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CurrentSourceLocExprScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTTypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentBriefParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ExternalASTMerger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/ASTConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclGroup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/MangleNumberingContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/ConstantInitFuture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/ModuleBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/CGFunctionInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/CodeGenABITypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/SwiftCallingConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/CodeGenAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/ConstantInitBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CodeGen/BackendUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit/EditedSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit/EditsReceiver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit/FileOffset.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Edit/Commit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenMPKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/LangStandards.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenCLExtensionTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsAArch64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticLex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/SourceManagerInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsHexagon.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetCXXABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsSME.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/FileEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ExpressionTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/SanitizerSpecialCaseList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttributeCommonInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsLoongArchLASX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsARM.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OperatorPrecedence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsVEVL.gen.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/PragmaKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticFrontend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Lambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsLoongArch.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BitmaskEnum.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/LangStandard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsXCore.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticDriver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Visibility.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsLoongArchLSX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ExceptionSpecificationType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Attributes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/SyncScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Sanitizers.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsSystemZ.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/PartialDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/IdentifierTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticRefactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/HLSLRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CharInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrSubjectMatchRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsMips.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DirectoryEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ObjCRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsX86_64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Builtins.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AllDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TemplateKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CommentOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/LLVM.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Sanitizers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticParse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/FileSystemStatCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsSVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OperatorKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AlignedAllocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/NoSanitizeList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsLoongArchBase.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticComment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsAMDGPU.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/XRayInstr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/WebAssemblyReferenceTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/RISCVVTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/MakeSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AddressSpaces.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Linkage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CodeGenOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticIDs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/PPCTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/MSP430Target.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticCrossTU.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/HeaderInclude.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenCLImageTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsNVPTX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/XRayLists.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/PrettyStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/FileSystemOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/PlistSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/MacroBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TransformTypeTraits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TokenKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Module.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenMPKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CustomizableOptional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsRISCV.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/LangOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Stack.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ParsedAttrInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsHexagonMapCustomDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenCLOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsBPF.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Specifiers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Cuda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsHexagonDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CLWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/SourceManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/LangOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AArch64SVEACLETypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/JsonSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/FileManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TokenKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CodeGenOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsX86.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Thunk.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/FPOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinHeaders.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/SourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetCXXABI.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetBuiltins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsRISCVVector.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsPPC.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Features.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/CapturedStmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/TargetID.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Version.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OpenCLExtensions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Sarif.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/ProfileList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticSerialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsNEON.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DarwinSDKInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/BuiltinsWebAssembly.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/OperatorKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/ExtractAPIActionBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/Serialization/SerializerBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/DeclarationFragments.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/AvailabilityInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/ExtractAPIVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/APIIgnoresList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/ExtractAPI/API.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/TokenLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/Lexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/ModuleMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/Preprocessor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/PPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/Pragma.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/MacroInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/VariadicMacroSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/HeaderMapTypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/PreprocessingRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/LiteralSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/PPConditionalDirectiveRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/CodeCompletionHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/ScratchBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/TokenConcatenation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/PreprocessorLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/HeaderSearchOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/ModuleLoader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/LexDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/MultipleIncludeOpt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/MacroArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/PreprocessorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/DependencyDirectivesScanner.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/HeaderSearch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/Token.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/HeaderMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/ExternalPreprocessorSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Lex/DirectoryLookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers/Taint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers/SValExplainer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/BugReporter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/CheckerManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/Analyses.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/Checker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/PrecompiledPreamble.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/SerializedDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/FrontendDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/MultiplexConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/CommandLineSourceLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/CompilerInstance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/VerifyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/PreprocessorOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/SerializedDiagnosticReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/TextDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/SARIFDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/FrontendPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/MigratorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/DependencyOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/SerializedDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/LogDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/TextDiagnosticBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/FrontendOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/FrontendAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/DiagnosticRenderer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/LayoutOverrideSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/CompilerInvocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/TextDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/SARIFDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Frontend/ASTUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CrossTU -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CrossTU/CrossTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/CrossTU/CrossTUDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/BuildSystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Index.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Rewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXSourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/ExternC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Platform.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/FatalErrorHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Documentation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXErrorCode.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Config/config.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Driver/Options.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/AttrPCHRead.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Serialization/AttrPCHWrite.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/AttrParserStringSwitches.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AttrParsedAttrImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AttrTemplateInstantiate.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AttrParsedAttrKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AttrSpellingListIndex.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Sema/AttrParsedAttrList.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/NodeIntrospection.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/Nodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Tooling/Syntax/NodeClasses.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrNodeTraverse.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/Attrs.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrTextNodeDump.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractBasicWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentCommandInfo.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentHTMLTagsProperties.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractTypeReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/TypeNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractTypeWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentHTMLTags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/CommentCommandList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrVisitor.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AttrImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/AbstractBasicReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/DeclNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/AST/StmtDataCollectors.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_mve_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticSerializationKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticASTKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticDriverKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_cde_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticIndexName.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sme_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/Version.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticCommentKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_sifive_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticCommonKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticParseKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticAnalysisKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticGroups.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_cde_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sve_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sve_typeflags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_neon.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticCrossTUKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrHasAttributeImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrTokenKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticSemaKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sme_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_fp16.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticLexKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_mve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticRefactoringKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_cde_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sme_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_sve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/DiagnosticFrontendKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_cde_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_mve_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/AttrSubMatchRulesList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/Basic/arm_mve_builtin_cg.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang/StaticAnalyzer/Checkers/Checkers.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/bash-autocomplete.sh -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/float.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/iso646.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/limits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/module.modulemap -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdalign.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdarg.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdatomic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdbool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stddef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__stddef_max_align_t.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/stdnoreturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/tgmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/unwind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/varargs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_acle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_cmse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/armintr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm64intr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_neon_sve_bridge.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_builtin_vars.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_complex_builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_texture_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_math_forward_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_cuda_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/hexagon_circ_brev_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/hexagon_types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/hvx_hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_hip_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_hip_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_hip_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_hip_stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__clang_hip_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/larchintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/lasxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/lsxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/msa.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/opencl-c.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/opencl-c-base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/altivec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/htmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/htmxlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/riscv_ntlh.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/sifive_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/s390intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/vecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/velintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/velintrin_gen.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/velintrin_approx.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/adxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ammintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/amxcomplexintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/amxfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/amxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512bf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512bitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512bwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512cdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512dqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512erintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512fintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512fp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512ifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512ifmavlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512pfintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vbmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vbmivlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlbf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlbitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlbwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlcdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vldqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlvbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vlvp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vpopcntdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avx512vpopcntdqvlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxneconvertintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxvnniint16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxvnniint8intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/avxvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cldemoteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/clflushoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/clwbintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/clzerointrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cmpccxaddintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/crc32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/enqcmdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/f16cintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/fma4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/fmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/fxsrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/gfniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/hresetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ia32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/invpcidintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/keylockerintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/lwpintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/lzcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/mm3dnow.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/movdirintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/mwaitxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/nmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/pconfigintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/pkuintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/popcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/prfchiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/prfchwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ptwriteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/raointintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/rdpruintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/rdseedintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/rtmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/serializeintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/sgxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/sha512intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/shaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/sm3intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/sm4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/tbmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/tsxldtrkintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/uintrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/vaesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/vpclmulqdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/waitpkgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/wbnoinvdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__wmmintrin_aes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/wmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/__wmmintrin_pclmul.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xopintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xsavecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xsaveintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xsaveoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xsavesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/xtestintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cpuid.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/wasm_simd128.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/vadefs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_neon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_fp16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_sve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_bf16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_mve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/arm_cde.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/riscv_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/algorithm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ppc_wrappers/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdio.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/llvm_libc_wrappers/string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/llvm_libc_wrappers/ctype.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/llvm_libc_wrappers/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/complex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/complex_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/openmp_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/diagtool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang -- Creating clang++ -- Creating clang-cl -- Creating clang-cpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-bbedit.applescript -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-sublime.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/git-clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-linker-wrapper -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-offload-packager -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-offload-bundler -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-scan-deps -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-repl -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/c-index-test -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-rename.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-rename.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-refactor -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang-cpp.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang-cpp.so -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-check -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-extdef-mapping -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/scan-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/ccc-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/c++-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/scan-build.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-build/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-build/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/analyze-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/intercept-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/scan-build-py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/analyze-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/analyze-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/intercept-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/libexec/intercept-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/analyze.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/arguments.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/clang.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/compilation.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/intercept.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/report.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/shell.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/resources/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/resources/selectable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild/resources/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libear/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libear/config.h.in -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libear/ear.c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/scan-view -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/ScanView.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/Reporter.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/startfile.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/bugcatcher.ico -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-apply-replacements -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-reorder-fields -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/modularize -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/modularize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-tidy-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/run-clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./mpi -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./mpi/TypeMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./mpi/BufferDerefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ParentVirtualCallCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SpuriouslyWakeUpFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/AssertSideEffectCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ForwardingReferenceOverloadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/DanglingHandleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SizeofContainerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/FoldInitTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/CopyConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousReallocUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UnsafeFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/StringConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousMissingCommaCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/NoEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SwitchMissingDefaultCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/InfiniteLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/LambdaFunctionNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MultipleStatementMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/InaccurateEraseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousEnumUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MultipleNewInOneExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MacroParenthesesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousStringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/TooSmallLoopVariableCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UniquePtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/StringLiteralWithEmbeddedNulCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UnhandledSelfAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UnhandledExceptionAtNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/IncorrectRoundingsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousMemsetUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MacroRepeatedSideEffectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UndefinedMemoryManipulationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UnusedRaiiCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/BranchCloneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UndelegatedConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SizeofExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/TerminatingContinueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/EmptyCatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SharedPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/StringviewNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SwappedArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousMemoryComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/PosixReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ArgumentCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SignalHandlerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/StringIntegerAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/EasilySwappableParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ForwardDeclarationNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/BadSignalToKillThreadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MisplacedWideningCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/IntegerDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MoveForwardingReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/NonZeroEnumToBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/DynamicStaticInitializersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MisplacedOperatorInStrlenInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SignedCharMisuseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/MisplacedPointerArithmeticInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/VirtualNearMissCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/RedundantBranchConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UncheckedOptionalAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/NotNullTerminatedResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UnusedReturnValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/StandaloneEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ImplicitWideningOfMultiplicationResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/BoolPointerImplicitConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/UseAfterMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/AssignmentInIfConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SuspiciousSemicolonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ThrowKeywordMissingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/SmartPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ReservedIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./bugprone/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidy.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm/HeaderGuardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm/IncludeOrderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm/PreferRegisterOverUnsignedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm/PreferIsaOrDynCastInConditionalsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvm/TwineLocalCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvmlibc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvmlibc/ImplementationInNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvmlibc/RestrictSystemLibcHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvmlibc/InlineFunctionDeclCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./llvmlibc/CalleeNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./plugin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/IntegerTypesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/AvoidCStyleCastsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/DefaultArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/ExplicitConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/GlobalVariableDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/FunctionNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/UpgradeGoogletestCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/UsingNamespaceDirectiveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/UnnamedNamespaceInHeaderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/TodoCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/OverloadedUnaryAndCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/AvoidNSObjectNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/ExplicitMakePairCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/GlobalNamesInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/AvoidUnderscoreInGoogletestNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./google/AvoidThrowingObjCExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera/KernelNameRestrictionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera/SingleWorkItemBarrierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera/StructPackAlignCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera/UnrollLoopsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./altera/IdDependentBackwardBranchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UnconventionalAssignOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/NewDeleteOverloadsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/MisleadingIdentifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/IncludeCleanerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/StaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UnusedAliasDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/HeaderIncludeCycleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/NoRecursionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/ThrowByValueCatchByReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/ConfusableIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UseAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/MisleadingBidirectional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/ConstCorrectnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/RedundantExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/MisplacedConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/NonPrivateMemberVariablesInClassesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/NonCopyableObjects.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UnusedUsingDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UniqueptrResetReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/ConfusableTable -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/DefinitionsInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./misc/UnusedParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./portability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./portability/StdAllocatorConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./portability/SIMDIntrinsicsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./portability/RestrictSystemIncludesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyModule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyProfiling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./hicpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./hicpp/ExceptionBaseclassCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./hicpp/NoAssemblerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./hicpp/MultiwayPathsCoveredCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./hicpp/SignedBitwiseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/StrToNumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/PostfixOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/ProperlySeededRandomGeneratorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/CommandProcessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/ThrownExceptionTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/StaticObjectExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/VariadicFunctionDefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/NonTrivialTypesLibcMemoryCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/SetLongJmpCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/LimitedRandomnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/DontModifyStdNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/MutatingCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/FloatLoopCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cert/DefaultOperatorNewAlignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/UsingInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/FormatStringConverter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/TransformerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/ExprSequence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/ASTUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/OptionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/FileExtensionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/IncludeInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/ExceptionAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/IncludeSorter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/HeaderGuard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/Aliasing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/FixItHintUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/LexerUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/DeclRefExprUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/NamespaceAliaser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/ExceptionSpecAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/RenamerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./utils/Matchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./zircon -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./zircon/TemporaryObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./concurrency -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./concurrency/ThreadCanceltypeAsynchronousCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./concurrency/MtUnsafeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/TriviallyDestructibleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoexceptMoveConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/InefficientAlgorithmCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/MoveConstArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoexceptDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/UnnecessaryCopyInitialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/UnnecessaryValueParamCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/MoveConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/InefficientVectorOperationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/InefficientStringConcatenationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/FasterStringFindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/ForRangeCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/AvoidEndlCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/TypePromotionInMathFnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoexceptSwapCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoIntToPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/ImplicitConversionInLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoAutomaticMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./performance/NoexceptFunctionBaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./openmp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./openmp/UseDefaultNoneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./openmp/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./GlobList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./darwin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./darwin/AvoidSpinlockCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./darwin/DispatchOnceNonstaticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./boost -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./boost/UseToStringCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsDeclarationsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/VirtualInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/TrailingReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/MultipleInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/StaticallyConstructedObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./fuchsia/OverloadedOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyModuleRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./tool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./tool/ClangTidyMain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationAdditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/UpgradeDurationConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/AbseilMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationUnnecessaryConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationFactoryFloatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/NoNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationFactoryScaleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/TimeComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/FasterStrsplitDelimiterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/NoInternalDependenciesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/StringFindStrContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/StringFindStartswithCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationConversionCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/DurationRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/RedundantStrcatCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/StrCatAppendCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/TimeSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./abseil/CleanupCtadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./NoLintDirectiveHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./FileExtensionsSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ExpandModularHeadersPPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecOpenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecMemfdCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/ComparisonInTempFailureRetryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecEpollCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecInotifyInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecEpollCreate1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecPipe2Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecAccept4Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecCreatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecSocketCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecAcceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecFopenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecDupCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecInotifyInit1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./android/CloexecPipeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./linuxkernel -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./linuxkernel/MustCheckErrsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/NamedParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/AvoidUnconditionalPreprocessorIfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantFunctionPtrDereferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/InconsistentDeclarationParameterNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/IsolateDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ConstReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantStringInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/UseAnyOfAllOfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/StringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/SimplifyBooleanExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ContainerContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/DeleteNullPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ImplicitBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/MakeMemberFunctionConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ContainerSizeEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/UppercaseLiteralSuffixCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantStringCStrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/QualifiedAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/DuplicateIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/StaticAccessedThroughInstanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ConvertMemberFunctionsToStatic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ElseAfterReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/ContainerDataPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantPreprocessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/MisleadingIndentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/SuspiciousCallArgumentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/OperatorsRepresentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/NamespaceCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/UniqueptrDeleteReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantControlFlowCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/StaticDefinitionInAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/NonConstParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantAccessSpecifiersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/FunctionCognitiveComplexityCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/IdentifierLengthCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/AvoidConstParamsInDecls.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/RedundantSmartptrGetCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/BracesAroundStatementsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/IdentifierNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/FunctionSizeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/MagicNumbersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/SimplifySubscriptExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./readability/MisplacedArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./ClangTidyForceLinker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseNoexceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/MakeUniqueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/DeprecatedHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseUncaughtExceptionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ReplaceRandomShuffleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/MacroToEnumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseEqualsDefaultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseStdPrintCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/RedundantVoidArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ShrinkToFitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseDefaultMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseEmplaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseTrailingReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/LoopConvertUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseBoolLiteralsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/MakeSmartPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UnaryStaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseOverrideCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ReplaceAutoPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseUsingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/AvoidBindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/MakeSharedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ReplaceDisallowCopyAndAssignMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ReturnBracedInitListCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/TypeTraitsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/AvoidCArraysCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/ConcatNestedNamespacesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseEqualsDeleteCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseNodiscardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/DeprecatedIosBaseAliasesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/RawStringLiteralCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/IntegralLiteralExpressionMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/UseTransparentFunctorsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/PassByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./modernize/LoopConvertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/NSInvocationArgumentLifetimeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/AssertEquals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/ForbiddenSubclassingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/PropertyDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/MissingHashCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/DeallocInCategoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/AvoidNSErrorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/NSDateFormatterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./objc/SuperSelfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeConstCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/PreferMemberInitializerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeVarargCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/MissingStdForwardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeStaticCastDowncastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeUnionAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/MacroUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/NarrowingConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeReinterpretCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeCstyleCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/SpecialMemberFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/InitVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/NoMallocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/SlicingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/OwningMemoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsPointerArithmeticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidDoWhileCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/InterfacesGlobalInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidGotoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/./cppcoreguidelines/VirtualClassDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-change-namespace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-doc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-doc-default-stylesheet.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/index.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-include-fixer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-include-fixer.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-include-fixer.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/find-all-symbols -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/run-find-all-symbols.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-move -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-query -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-include-cleaner -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/pp-trace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-pseudo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clangd -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang.so.17.0.6 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang.so -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/BuildSystem.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXFile.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXDiagnostic.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXString.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Index.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Rewrite.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXSourceLocation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/ExternC.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Platform.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/FatalErrorHandler.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/Documentation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-c/CXErrorCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/amdgpu-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/nvptx-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./UsersManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./AddressSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ObjectiveCLiterals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./RAVFrontendAction.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./.buildinfo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/alert_warning_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/doctools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/pygments.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/language_data.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/alert_info_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/minus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/documentation_options.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/bg-page.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/bullet_orange.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/file.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/plus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/sphinx_highlight.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/basic.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/haiku.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_static/searchtools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/Tooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangTransformerTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ThreadSafetyAnalysis.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibClang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ReleaseNotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ShadowCallStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SYCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadPackager.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangTools.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangCommandLineReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/MSVCCompatibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibTooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrityDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DriverInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/IPA.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/nullability.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/DebugChecks.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/InitializerLists.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/RegionStore.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/checkers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SanitizerSpecialCaseList.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/APINotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/Block-ABI-Apple.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DataFlowAnalysisIntro.md.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/BlockLanguageSpec.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CodeOwners.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/Toolchain.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SourceBasedCodeCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangFormatStyleOptions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/UndefinedBehaviorSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ItaniumMangleAbiTags.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangLinkerWrapper.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/AutomaticReferenceCounting.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchersTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SanitizerStats.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/AMDGPUSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/OffloadingDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ThreadSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/MemorySanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/AddressSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/RAVFrontendAction.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LanguageExtensions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL/EntryFunctions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL/ResourceTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLIRReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLDocs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ExternalClangExamples.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangFormattedStatus.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangPlugins.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HowToSetupToolingForLLVM.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/FAQ.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangStaticAnalyzer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/StandardCPlusPlusModules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ConstantInterpreter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/clang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/diagtool.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangCheck.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/JSONCompilationDatabase.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/PCHInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/CrossCompilation.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/MisExpect.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/OpenCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/UsersManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/RefactoringEngine.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/AttributeReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadBundler.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DebuggingCoroutines.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/MatrixTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LeakSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/Multilib.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ClangRepl.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/Modules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/OpenMPSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrity.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/DiagnosticsReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/InternalsManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LibASTImporter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/IntroductionToTheClangAST.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/HardwareAssistedAddressSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ObjectiveCLiterals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/ThinLTO.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/LTOVisibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SanitizerCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_sources/SafeStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DataFlowSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./StandardCPlusPlusModules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangRepl.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangFormattedStatus.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./JSONCompilationDatabase.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SYCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/checkers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/InitializerLists.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/RegionStore.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/DebugChecks.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/nullability.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/IPA.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/user-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/TaintAnalysisConfiguration.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/CrossTranslationUnit.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibClang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./MSVCCompatibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./search.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./Multilib.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./PCHInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DebuggingCoroutines.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangOffloadBundler.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ShadowCallStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ExternalClangExamples.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./FAQ.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibASTMatchersReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./IntroductionToTheClangAST.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibTooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./MemorySanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SanitizerSpecialCaseList.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./UndefinedBehaviorSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ThinLTO.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./APINotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/UniquePtrLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/CFGExample.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/CFGJoinRule.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/PCHLayout.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/OutputParameterIdentificationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/DefinitiveInitializationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/DriverArchitecture.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/ClangRepl_design.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsFiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsInfiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./AttributeReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./BlockLanguageSpec.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./OffloadingDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangFormatStyleOptions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DataFlowSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangTransformerTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./AMDGPUSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./InternalsManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./MisExpect.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./AutomaticReferenceCounting.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ReleaseNotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./Tooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangStaticAnalyzer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangPlugins.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL/HLSLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL/ResourceTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL/EntryFunctions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL/HLSLIRReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HLSL/HLSLDocs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangOffloadPackager.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SafeStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LTOVisibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SourceBasedCodeCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CrossCompilation.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LeakSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangLinkerWrapper.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CommandGuide/diagtool.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CommandGuide/clang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CommandGuide/index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./Toolchain.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrityDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ThreadSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DriverInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ThreadSafetyAnalysis.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SanitizerCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibASTMatchers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangTools.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ConstantInterpreter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibASTMatchersTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./RefactoringEngine.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./objects.inv -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./Modules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./genindex.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LanguageExtensions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangCheck.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ItaniumMangleAbiTags.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ClangCommandLineReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HowToSetupToolingForLLVM.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./OpenMPSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./Block-ABI-Apple.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrity.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./SanitizerStats.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DataFlowAnalysisIntro.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./LibASTImporter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./MatrixTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./searchindex.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./OpenCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./HardwareAssistedAddressSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./CodeOwners.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/./DiagnosticsReference.html -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/clang.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/diagtool.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/cmake/clang/ClangTargets.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/cmake/clang/ClangConfig.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/cmake/clang/ClangConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/cmake/clang/AddClang.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/hmaptool + rm -rf '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/*.a' + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/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-4.ocs23.x86_64/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-4.ocs23.x86_64/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-4.ocs23.x86_64 -p / /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang Listing '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__init__.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/cindex.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/enumerations.py'... + mv /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libear /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libscanbuild /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/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-4.ocs23.x86_64/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-4.ocs23.x86_64 -p / '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' Listing '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/{libear,libscanbuild}'... Can't list '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + chmod a+x /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/Reporter.py /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/scan-view/startfile.py + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/usr/share/clang/clang-format.el /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/usr/share/clang/clang-rename.el /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/usr/share/clang/clang-include-fixer.el /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-bbedit.applescript removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-bbedit.applescript' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-sublime.py removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-format-sublime.py' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/UsersManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/AddressSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ObjectiveCLiterals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/RAVFrontendAction.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/.buildinfo' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/alert_warning_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/doctools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/pygments.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/language_data.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/alert_info_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/minus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/documentation_options.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/bg-page.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/bullet_orange.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/file.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/plus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/sphinx_highlight.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/basic.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/haiku.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static/searchtools.js' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_static' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/Tooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangTransformerTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ThreadSafetyAnalysis.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibClang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ReleaseNotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ShadowCallStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SYCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadPackager.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangTools.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangCommandLineReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/MSVCCompatibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibTooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrityDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DriverInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/IPA.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/nullability.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/DebugChecks.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/InitializerLists.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/RegionStore.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/checkers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SanitizerSpecialCaseList.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/APINotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/Block-ABI-Apple.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DataFlowAnalysisIntro.md.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/BlockLanguageSpec.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CodeOwners.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/Toolchain.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SourceBasedCodeCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangFormatStyleOptions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/UndefinedBehaviorSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ItaniumMangleAbiTags.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangLinkerWrapper.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/AutomaticReferenceCounting.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchersTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SanitizerStats.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/AMDGPUSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/OffloadingDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ThreadSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/MemorySanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/AddressSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/RAVFrontendAction.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LanguageExtensions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL/EntryFunctions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL/ResourceTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLIRReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLDocs.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ExternalClangExamples.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangFormattedStatus.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangPlugins.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HowToSetupToolingForLLVM.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/FAQ.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangStaticAnalyzer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/StandardCPlusPlusModules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ConstantInterpreter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/clang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/diagtool.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/index.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangCheck.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/JSONCompilationDatabase.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/PCHInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/CrossCompilation.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/MisExpect.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/OpenCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/UsersManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/RefactoringEngine.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/AttributeReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadBundler.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DebuggingCoroutines.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/MatrixTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LeakSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/Multilib.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ClangRepl.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/Modules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/OpenMPSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrity.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/DiagnosticsReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/InternalsManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LibASTImporter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/IntroductionToTheClangAST.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/HardwareAssistedAddressSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ObjectiveCLiterals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/ThinLTO.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/LTOVisibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SanitizerCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources/SafeStack.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_sources' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DataFlowSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/StandardCPlusPlusModules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangRepl.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangFormattedStatus.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/JSONCompilationDatabase.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SYCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/checkers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/InitializerLists.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/RegionStore.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/DebugChecks.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/nullability.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/IPA.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/developer-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/user-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/user-docs/TaintAnalysisConfiguration.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/user-docs/CrossTranslationUnit.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer/user-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibClang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/MSVCCompatibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/search.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/Multilib.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/PCHInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DebuggingCoroutines.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangOffloadBundler.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ShadowCallStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ExternalClangExamples.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/FAQ.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibASTMatchersReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/IntroductionToTheClangAST.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibTooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/MemorySanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SanitizerSpecialCaseList.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/UndefinedBehaviorSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ThinLTO.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/APINotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/UniquePtrLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/CFGExample.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/CFGJoinRule.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/PCHLayout.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/OutputParameterIdentificationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/DefinitiveInitializationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/DriverArchitecture.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/ClangRepl_design.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/IntegerSetsFiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images/IntegerSetsInfiniteLattice.svg' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/_images' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/AttributeReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/BlockLanguageSpec.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/OffloadingDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangFormatStyleOptions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DataFlowSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangTransformerTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/AMDGPUSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/InternalsManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/MisExpect.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/AutomaticReferenceCounting.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ReleaseNotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/Tooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangStaticAnalyzer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangPlugins.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL/HLSLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL/ResourceTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL/EntryFunctions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL/HLSLIRReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL/HLSLDocs.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangOffloadPackager.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SafeStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LTOVisibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SourceBasedCodeCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CrossCompilation.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LeakSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangLinkerWrapper.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CommandGuide/diagtool.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CommandGuide/clang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CommandGuide/index.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/Toolchain.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ControlFlowIntegrityDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ThreadSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DriverInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ThreadSafetyAnalysis.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SanitizerCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibASTMatchers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangTools.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ConstantInterpreter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibASTMatchersTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/RefactoringEngine.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/objects.inv' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/Modules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/genindex.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LanguageExtensions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangCheck.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ItaniumMangleAbiTags.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ClangCommandLineReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HowToSetupToolingForLLVM.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/OpenMPSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/Block-ABI-Apple.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/ControlFlowIntegrity.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/SanitizerStats.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DataFlowAnalysisIntro.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/LibASTImporter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/MatrixTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/searchindex.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/OpenCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/HardwareAssistedAddressSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/CodeOwners.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html/DiagnosticsReference.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/doc/Clang/clang/html' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-doc-default-stylesheet.css removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/clang-doc-default-stylesheet.css' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/index.js removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/index.js' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/mpi/TypeMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/mpi/BufferDerefCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/mpi' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ParentVirtualCallCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/AssertSideEffectCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/DanglingHandleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SizeofContainerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/FoldInitTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/CopyConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UnsafeFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/StringConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/NoEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/InfiniteLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/LambdaFunctionNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MultipleStatementMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/InaccurateEraseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MacroParenthesesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/IncorrectRoundingsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UnusedRaiiCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/BranchCloneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UndelegatedConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SizeofExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/TerminatingContinueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/EmptyCatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/StringviewNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SwappedArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/PosixReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ArgumentCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SignalHandlerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/EasilySwappableParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MisplacedWideningCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/IntegerDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SignedCharMisuseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/VirtualNearMissCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/RedundantBranchConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UnusedReturnValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/StandaloneEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/UseAfterMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/AssignmentInIfConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ReservedIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone/ExceptionEscapeCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/bugprone' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidy.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm/HeaderGuardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm/IncludeOrderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm/TwineLocalCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvm' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/llvmlibc' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/plugin' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/IntegerTypesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/AvoidCStyleCastsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/DefaultArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/ExplicitConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/GlobalVariableDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/FunctionNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/UpgradeGoogletestCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/UsingNamespaceDirectiveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/TodoCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/OverloadedUnaryAndCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/AvoidNSObjectNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/ExplicitMakePairCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/GlobalNamesInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/google' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera/KernelNameRestrictionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera/SingleWorkItemBarrierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera/StructPackAlignCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera/UnrollLoopsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera/IdDependentBackwardBranchCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/altera' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/NewDeleteOverloadsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/MisleadingIdentifier.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/IncludeCleanerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/StaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UnusedAliasDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/HeaderIncludeCycleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/NoRecursionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/ConfusableIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UseAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/MisleadingBidirectional.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/ConstCorrectnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/RedundantExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/MisplacedConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/NonCopyableObjects.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UnusedUsingDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UniqueptrResetReleaseCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/ConfusableTable' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/DefinitionsInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc/UnusedParametersCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/misc' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/portability/StdAllocatorConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/portability/SIMDIntrinsicsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/portability/RestrictSystemIncludesCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/portability' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyModule.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyDiagnosticConsumer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyProfiling.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/hicpp/ExceptionBaseclassCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/hicpp/NoAssemblerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/hicpp/SignedBitwiseCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/hicpp' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/StrToNumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/PostfixOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/CommandProcessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/ThrownExceptionTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/StaticObjectExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/VariadicFunctionDefCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/SetLongJmpCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/LimitedRandomnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/DontModifyStdNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/MutatingCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/FloatLoopCounter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cert' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/UsingInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/TypeTraits.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/FormatStringConverter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/TransformerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/ExprSequence.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/ASTUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/OptionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/FileExtensionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/IncludeInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/ExceptionAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/IncludeSorter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/HeaderGuard.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/Aliasing.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/FixItHintUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/LexerUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/DeclRefExprUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/NamespaceAliaser.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/ExceptionSpecAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/RenamerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils/Matchers.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/utils' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/zircon/TemporaryObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/zircon' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/concurrency/MtUnsafeCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/concurrency' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/TriviallyDestructibleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoexceptMoveConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/InefficientAlgorithmCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/MoveConstArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoexceptDestructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/UnnecessaryCopyInitialization.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/UnnecessaryValueParamCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/MoveConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/InefficientVectorOperationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/InefficientStringConcatenationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/FasterStringFindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/ForRangeCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/AvoidEndlCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/TypePromotionInMathFnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoexceptSwapCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoIntToPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/ImplicitConversionInLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoAutomaticMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance/NoexceptFunctionBaseCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/performance' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/openmp/UseDefaultNoneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/openmp/ExceptionEscapeCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/openmp' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/GlobList.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/darwin/AvoidSpinlockCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/darwin' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/boost/UseToStringCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/boost' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/VirtualInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/TrailingReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/MultipleInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia/OverloadedOperatorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/fuchsia' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyModuleRegistry.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/tool/ClangTidyMain.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/tool' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationAdditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/AbseilMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationFactoryFloatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/NoNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationFactoryScaleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/TimeComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/NoInternalDependenciesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/StringFindStrContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/StringFindStartswithCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationConversionCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/DurationRewriter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/RedundantStrcatCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/StrCatAppendCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/TimeSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil/CleanupCtadCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/abseil' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/NoLintDirectiveHandler.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/FileExtensionsSet.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ExpandModularHeadersPPCallbacks.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecOpenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecMemfdCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecEpollCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecInotifyInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecEpollCreate1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecPipe2Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecAccept4Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecCreatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecSocketCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecAcceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecFopenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecDupCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecInotifyInit1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android/CloexecPipeCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/android' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/linuxkernel' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/NamedParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/IsolateDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ConstReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantStringInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/UseAnyOfAllOfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/StringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/SimplifyBooleanExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ContainerContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/DeleteNullPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ImplicitBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/MakeMemberFunctionConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ContainerSizeEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantStringCStrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/QualifiedAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/DuplicateIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ElseAfterReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/ContainerDataPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantPreprocessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/MisleadingIndentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/SuspiciousCallArgumentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/OperatorsRepresentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/NamespaceCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantControlFlowCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/NonConstParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/IdentifierLengthCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/AvoidConstParamsInDecls.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/RedundantSmartptrGetCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/BracesAroundStatementsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/IdentifierNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/FunctionSizeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/MagicNumbersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/SimplifySubscriptExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability/MisplacedArrayIndexCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/readability' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyOptions.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/ClangTidyForceLinker.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseNoexceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/MakeUniqueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/DeprecatedHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/MacroToEnumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseEqualsDefaultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseStdPrintCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/RedundantVoidArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ShrinkToFitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseDefaultMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseEmplaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/LoopConvertUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseBoolLiteralsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/MakeSmartPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UnaryStaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseOverrideCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ReplaceAutoPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseUsingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/AvoidBindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/MakeSharedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ReturnBracedInitListCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/TypeTraitsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/AvoidCArraysCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseEqualsDeleteCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseNodiscardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/RawStringLiteralCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/UseTransparentFunctorsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/PassByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize/LoopConvertCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/modernize' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/AssertEquals.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/ForbiddenSubclassingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/PropertyDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/MissingHashCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/DeallocInCategoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/AvoidNSErrorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/NSDateFormatterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc/SuperSelfCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/objc' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/NoMallocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/SlicingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/cppcoreguidelines' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/include/clang-tidy/' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/bash-autocomplete.sh + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/clang++.1.gz removed '/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/clang/bash-autocomplete.sh' + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/clang-17.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/clang++-17.1.gz + ln -s clang++ /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++-17 + chmod u-x /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/man/man1/scan-build.1 + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/include/ /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/lib/ /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/clang/17/share/ + ln -s /usr/share/clang/clang-format-diff.py /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-format-diff + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 17.0.6-4.ocs23 --unique-debug-suffix -17.0.6-4.ocs23.x86_64 --unique-debug-src-base clang-17.0.6-4.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/clang-17.0.6.src extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/amdgpu-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-change-namespace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-extdef-mapping extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-cpp extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-include-fixer extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-move extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-apply-replacements extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-format extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-cl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-linker-wrapper extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-doc extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-include-cleaner extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-offload-bundler extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/c-index-test extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-check extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-offload-packager extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-pseudo extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-query extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-rename extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-refactor extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-reorder-fields extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-repl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-tidy extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-scan-deps extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clangd extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/diagtool extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/find-all-symbols extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/modularize extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/pp-trace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/nvptx-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib64/libclang-cpp.so.17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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/bin/scan-build 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/libexec/c++-analyzer 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-4.ocs23.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages Removed 91 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.opt-1.pyc Removed 171 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.opt-1.pyc Removed 69 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.opt-1.pyc Removed 44 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.opt-1.pyc Removed 42 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.opt-1.pyc Removed 107 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.pyc Removed 82 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.opt-1.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.opt-1.pyc Removed 130 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.opt-1.pyc Removed 16 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.opt-1.pyc Removed 997 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.pyc Removed 7 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.pyc Removed 1001 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.pyc + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8Jilj4 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-4.ocs23.x86_64//usr/lib64 + /usr/bin/ninja check-all -C x86_64-OpenCloudOS-linux-gnu ninja: Entering directory `x86_64-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/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/FuzzySymbolIndexTests.cpp.o [5/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/TypesTest.cpp.o [6/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DisambiguateTest.cpp.o [7/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/ForestTest.cpp.o [8/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/LRTableTest.cpp.o [9/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/TokenTest.cpp.o [10/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DirectiveTreeTest.cpp.o [11/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GrammarTest.cpp.o [12/441] Building CXX object tools/extra/unittests/clang-apply-replacements/CMakeFiles/ClangApplyReplacementsTests.dir/ApplyReplacementsTest.cpp.o [13/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GLRTest.cpp.o [14/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GlobListTest.cpp.o [15/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/IncludeSpellerTest.cpp.o [16/441] Linking CXX executable tools/extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [17/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/GeneratorTest.cpp.o [18/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o [19/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o [20/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/WalkASTTest.cpp.o [21/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OptionsProviderTest.cpp.o [22/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/ClangDocTest.cpp.o [23/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MDGeneratorTest.cpp.o [24/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/BitcodeTest.cpp.o [25/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/HTMLGeneratorTest.cpp.o [26/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MergeTest.cpp.o [27/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/YAMLGeneratorTest.cpp.o [28/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/RecordTest.cpp.o [29/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DarwinSDKInfoTest.cpp.o [30/441] Linking CXX executable tools/extra/pseudo/unittests/ClangPseudoTests [31/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 &); | ^~~~~~~~~~~~~~~~~~~~~ [32/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryParserTest.cpp.o [33/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/CharInfoTest.cpp.o [34/441] Linking CXX static library lib64/libclangTesting.a [35/441] Generating code completion model runtime... [36/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SanitizersTest.cpp.o [37/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryEngineTest.cpp.o [38/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/AnalysisTest.cpp.o [39/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/LineOffsetMappingTest.cpp.o [40/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileEntryTest.cpp.o [41/441] Building CXX object tools/extra/unittests/clang-include-fixer/find-all-symbols/CMakeFiles/FindAllSymbolsTests.dir/FindAllSymbolsTests.cpp.o [42/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderMapTest.cpp.o [43/441] Building CXX object tools/extra/unittests/clang-change-namespace/CMakeFiles/ClangChangeNamespaceTests.dir/ChangeNamespaceTests.cpp.o [44/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/Annotations.cpp.o [45/441] Building CXX object tools/extra/unittests/clang-move/CMakeFiles/ClangMoveTests.dir/ClangMoveTests.cpp.o [46/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o [47/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/DependencyDirectivesScannerTest.cpp.o [48/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SarifTest.cpp.o [49/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CanonicalIncludesTests.cpp.o [50/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyDiagnosticConsumerTest.cpp.o [51/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/LocateSymbolTest.cpp.o [52/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyOptionsTest.cpp.o [53/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderSearchTest.cpp.o [54/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SourceManagerTest.cpp.o [55/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/DeclRefExprUtilsTest.cpp.o [56/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeCleanerTest.cpp.o [57/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestTests.cpp.o [58/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ModernizeModuleTest.cpp.o [59/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/LexerTest.cpp.o [60/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GoogleModuleTest.cpp.o [61/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/SerializeTest.cpp.o [62/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DraftStoreTests.cpp.o [63/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/LLVMModuleTest.cpp.o [64/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/NamespaceAliaserTest.cpp.o [65/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileDistanceTests.cpp.o [66/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeInserterTest.cpp.o [67/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ObjCModuleTest.cpp.o [68/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigProviderTests.cpp.o [69/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FSTests.cpp.o [70/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompileCommandsTests.cpp.o [71/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/AddConstTest.cpp.o [72/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/UsingInserterTest.cpp.o [73/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigYAMLTests.cpp.o [74/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/FindHeadersTest.cpp.o [75/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FormatTests.cpp.o [76/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTTests.cpp.o [77/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTSignalsTests.cpp.o [78/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompletionStringsTests.cpp.o [79/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ReadabilityModuleTest.cpp.o [80/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FuzzyMatchTests.cpp.o [81/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigCompileTests.cpp.o [82/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CallHierarchyTests.cpp.o [83/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LoggerTests.cpp.o [84/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CollectMacrosTests.cpp.o [85/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/JSONTransportTests.cpp.o [86/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompilerTests.cpp.o [87/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FeatureModulesTests.cpp.o [88/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPClient.cpp.o [89/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DexTests.cpp.o [90/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PathMappingTests.cpp.o [91/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ExpectedTypeTest.cpp.o [92/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/TransformerClangTidyCheckTest.cpp.o [93/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DumpASTTests.cpp.o [94/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RIFFTests.cpp.o [95/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdLSPServerTests.cpp.o [96/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ProjectAwareIndexTests.cpp.o [97/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/GlobalCompilationDatabaseTests.cpp.o [98/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPBinderTests.cpp.o [99/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestFS.cpp.o [100/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"); | ^ [101/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeaderSourceSwitchTests.cpp.o [102/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OverlappingReplacementsTest.cpp.o [103/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InsertionPointTests.cpp.o [104/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ModulesTests.cpp.o [105/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/BackgroundIndexTests.cpp.o [106/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdTests.cpp.o [107/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestIndex.cpp.o [108/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ThreadCrashReporterTests.cpp.o [109/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o [110/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeadersTests.cpp.o [111/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexActionTests.cpp.o [112/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TidyProviderTests.cpp.o [113/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IncludeCleanerTests.cpp.o [114/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ContextTests.cpp.o [115/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/CancellationTests.cpp.o [116/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InlayHintTests.cpp.o [117/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FunctionTests.cpp.o [118/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/QualityTests.cpp.o [119/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TestTracer.cpp.o [120/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindSymbolsTests.cpp.o [121/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/URITests.cpp.o [122/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/PathTests.cpp.o [123/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FileCacheTests.cpp.o [124/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileIndexTests.cpp.o [125/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MarkupTests.cpp.o [126/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SelectionTests.cpp.o [127/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HoverTests.cpp.o [128/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MemoryTreeTests.cpp.o [129/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolInfoTests.cpp.o [130/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticHighlightingTests.cpp.o [131/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o [132/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexTests.cpp.o [133/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ThreadingTests.cpp.o [134/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SyncAPI.cpp.o [135/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DiagnosticsTests.cpp.o [136/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SerializationTests.cpp.o [137/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/StdLibTests.cpp.o [138/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TraceTests.cpp.o [139/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestWorkspace.cpp.o [140/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RenameTests.cpp.o [141/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PreambleTests.cpp.o [142/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SourceCodeTests.cpp.o [143/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ReplayPeambleTests.cpp.o [144/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrintASTTests.cpp.o [145/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ParsedASTTests.cpp.o [146/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests [147/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AnnotateHighlightingsTests.cpp.o [148/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpRecordLayoutTests.cpp.o [149/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpSymbolTests.cpp.o [150/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandMacroTests.cpp.o [151/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AddUsingTests.cpp.o [152/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o [153/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpASTTests.cpp.o [154/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCLocalizeStringLiteralTests.cpp.o [155/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TypeHierarchyTests.cpp.o [156/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractVariableTests.cpp.o [157/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPConditionalDirectiveRecordTest.cpp.o [158/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/PopulateSwitchTests.cpp.o [159/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineInlineTests.cpp.o [160/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/ModuleDeclStateTest.cpp.o [161/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o [162/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandDeducedTypeTests.cpp.o [163/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCMemberwiseInitializerTests.cpp.o [164/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineOutlineTests.cpp.o [165/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RemoveUsingNamespaceTests.cpp.o [166/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/MemberwiseConstructorTests.cpp.o [167/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SpecialMembersTests.cpp.o [168/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o [169/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RawStringLiteralTests.cpp.o [170/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ShowSelectionTreeTests.cpp.o [171/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractFunctionTests.cpp.o [172/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPMemoryAllocationsTest.cpp.o [173/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPDependencyDirectivesTest.cpp.o [174/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SwapIfBranchesTests.cpp.o [175/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o [176/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTests.cpp.o [177/441] Linking CXX executable tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests [178/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()) | ^ [179/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestTU.cpp.o [180/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTesting.cpp.o [181/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o [182/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/UnsafeBufferUsageTest.cpp.o [183/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ArenaTest.cpp.o [184/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) | ^ [185/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o [186/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o [187/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowAnalysisContextTest.cpp.o [188/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPCallbacksTest.cpp.o [189/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ValueTest.cpp.o [190/441] Linking CXX executable tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [191/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o [192/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o [193/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/AnalyzerOptionsTest.cpp.o [194/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o [195/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/MacroExpansionContextTest.cpp.o [196/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/APSIntTypeTest.cpp.o [197/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/IntervalPartitionTest.cpp.o [198/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGTest.cpp.o [199/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o [200/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CloneDetectionTest.cpp.o [201/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DeterminismTest.cpp.o [202/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/CFGMatchSwitchTest.cpp.o [203/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/LoggerTest.cpp.o [204/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MatchSwitchTest.cpp.o [205/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o [206/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/RecordOpsTest.cpp.o [207/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowEnvironmentTest.cpp.o [208/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o [209/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ChromiumCheckModelTest.cpp.o [210/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGDominatorTree.cpp.o [211/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupport.cpp.o [212/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/NoStateChangeFuncVisitorTest.cpp.o [213/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SolverTest.cpp.o [214/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.cpp.o [215/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o [216/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o [217/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/ExprMutationAnalyzerTest.cpp.o [218/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o [219/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o [220/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MultiVarConstantPropagationTest.cpp.o [221/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.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/TestReturnValueUnderConstruction.cpp.o [224/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o [225/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o [226/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o [227/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o [228/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o [229/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o [230/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o [231/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o [232/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o [233/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o [234/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o [235/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/VariantValueTest.cpp.o [236/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/GtestMatchersTest.cpp.o [237/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersInternalTest.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/CommentLexer.cpp.o [240/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/ParserTest.cpp.o [241/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o [242/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/RegistryTest.cpp.o [243/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o [244/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o [245/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o [246/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o [247/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o [248/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o [249/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o [250/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o [251/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o [252/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o [253/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o [254/441] Building CXX object unittests/CrossTU/CMakeFiles/CrossTUTests.dir/CrossTranslationUnitTest.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/ASTTraverserTest.cpp.o [257/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o [258/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o [259/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o [260/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o [261/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o [262/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o [263/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o [264/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CompilationDatabaseTest.cpp.o [265/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TypePrinterTest.cpp.o [266/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o [267/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StandardLibraryTest.cpp.o [268/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o [269/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScannerTest.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/FixItTest.cpp.o [272/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CommentHandlerTest.cpp.o [273/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o [274/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ASTSelectionTest.cpp.o [275/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o [276/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o [277/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ExecutionTest.cpp.o [278/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LookupTest.cpp.o [279/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o [280/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/QualTypeNamesTest.cpp.o [281/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Attr.cpp.o [282/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LexicallyOrderedRecursiveASTVisitorTest.cpp.o [283/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Class.cpp.o [284/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ConstructExpr.cpp.o [285/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp.o [286/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNodeTest.cpp.o [287/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RangeSelectorTest.cpp.o [288/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMemberCall.cpp.o [289/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMethodDecl.cpp.o [290/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp.o [291/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtor.cpp.o [292/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/DeclRefExpr.cpp.o [293/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp.o [294/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrder.cpp.o [295/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RewriterTest.cpp.o [296/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Concept.cpp.o [297/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp.o [298/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrder.cpp.o [299/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/IntegerLiteral.cpp.o [300/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp.o [301/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp.o [302/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ReplacementsYamlTest.cpp.o [303/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaExpr.cpp.o [304/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp.o [305/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o [306/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaTemplateParams.cpp.o [307/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksLeaf.cpp.o [308/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp.o [309/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp.o [310/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp.o [311/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp.o [312/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o [313/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o [314/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNarrowingTest.cpp.o [315/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ParenExpr.cpp.o [316/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o [317/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o [318/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TraversalScope.cpp.o [319/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o [320/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o [321/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o [322/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o [323/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o [324/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o [325/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTestBase.cpp.o [326/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o [327/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/SynthesisTest.cpp.o [328/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o [329/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestTypeLocVisitor.cpp.o [330/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestPostOrderVisitor.cpp.o [331/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o [332/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o [333/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o [334/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringCallbacksTest.cpp.o [335/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestRawStrings.cpp.o [336/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o [337/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTest.cpp.o [338/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o [339/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o [340/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o [341/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o [342/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeBuildersTest.cpp.o [343/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestVerilog.cpp.o [344/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o [345/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o [346/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FixedPointString.cpp.o [347/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.cpp.o [348/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ParsedSourceLocationTest.cpp.o [349/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o [350/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestComments.cpp.o [351/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTokenSourceTest.cpp.o [352/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o [353/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o [354/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriteBufferTest.cpp.o [355/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/BuildTreeTest.cpp.o [356/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/TextDiagnosticTest.cpp.o [357/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o [358/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CheckTargetFeaturesTest.cpp.o [359/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o [360/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StencilTest.cpp.o [361/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInstanceTest.cpp.o [362/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestDeclVisitor.cpp.o [363/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/QualifierFixerTest.cpp.o [364/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriterTest.cpp.o [365/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ASTUnitTest.cpp.o [366/441] Building CXX object unittests/libclang/CrashTests/CMakeFiles/libclangCrashTests.dir/LibclangCrashTest.cpp.o [367/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/UtilsTest.cpp.o [368/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o [369/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/PCHPreambleTest.cpp.o [370/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ReparseWorkingDirTest.cpp.o [371/441] Building CXX object unittests/libclang/CMakeFiles/libclangTests.dir/LibclangTest.cpp.o [372/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/OutputStreamTest.cpp.o [373/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/InMemoryModuleCacheTest.cpp.o [374/441] Building CXX object unittests/DirectoryWatcher/CMakeFiles/DirectoryWatcherTests.dir/DirectoryWatcherTest.cpp.o [375/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); | ~~~~^~~ [376/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o [377/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaLookupTest.cpp.o [378/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInvocationTest.cpp.o [379/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/TransformerTest.cpp.o [380/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.cpp.o [381/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o [382/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/TBAAMetadataTest.cpp.o [383/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.o [384/441] Building CXX object unittests/Introspection/CMakeFiles/IntrospectionTests.dir/IntrospectionTest.cpp.o [385/441] Building CXX object unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o [386/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o [387/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o [388/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaNoloadLookupTest.cpp.o [389/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FrontendActionTest.cpp.o [390/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o [391/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.o [392/441] Building CXX object unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o [393/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [394/441] Building CXX object unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o [395/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [396/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringTest.cpp.o [397/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o [398/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.cpp.o [399/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameFunctionTest.cpp.o [400/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameAliasTest.cpp.o [401/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.cpp.o [402/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameClassTest.cpp.o [403/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o [404/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/TokenAnnotatorTest.cpp.o [405/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTest.cpp.o [406/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/ConfigParseTest.cpp.o [407/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o [408/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: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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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; | [409/441] Linking CXX executable tools/extra/unittests/clang-doc/ClangDocTests [410/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [411/441] Linking CXX executable tools/extra/unittests/clang-move/ClangMoveTests [412/441] Linking CXX executable tools/extra/unittests/clang-query/ClangQueryTests [413/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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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; | [414/441] Linking CXX executable unittests/Basic/BasicTests [415/441] Linking CXX executable unittests/Lex/LexTests [416/441] Linking CXX executable unittests/Driver/ClangDriverTests [417/441] Linking CXX executable unittests/Analysis/ClangAnalysisTests [418/441] Linking CXX executable unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [419/441] Linking CXX executable unittests/StaticAnalyzer/StaticAnalysisTests [420/441] Linking CXX executable unittests/ASTMatchers/ASTMatchersTests [421/441] Linking CXX executable unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [422/441] Linking CXX executable unittests/AST/ASTTests [423/441] Linking CXX executable unittests/CrossTU/CrossTUTests [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 [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; | 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/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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:0, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:0, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:0, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:0, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:0, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:0, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:0, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:0, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:0, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:0, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -- Testing: 19712 tests, 32 workers -- Testing: FAIL: Clang :: Analysis/NewDeleteLeaks-PR19102.cpp (393 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR19102.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8d9f3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8d9f3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8d9f3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8d9e454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8da7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8da7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8da7e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8da7e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8da7e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8da7e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8da7e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8da7e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8da7ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8da7ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8da7ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8da7ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8da7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8da7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8da7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8da7ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8da7ad4e65 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 #21 0x00007f8da7ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8da7ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8da7ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8da7ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8da7ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8da7ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8da7ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8da7ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8da7ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8da7ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8da7ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8da7ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8da7ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8da7ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8da7ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8da7ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8da7ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8da7ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8da7a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8da7a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8da7a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8da7a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8da7a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f8da7a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f8da7a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f8da7a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f8da7a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f8da7a97620 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 #49 0x00007f8da7a97620 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 #50 0x00007f8da7a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f8da7a977b2 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 0x00007f8da7a9dfaf clang::ento::ExprEngine::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 0x00007f8da7a3f9ea 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 0x00007f8da7a3fb9e 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:223:0 #55 0x00007f8da7a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f8da7a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f8da7d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f8da7d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f8da7d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f8da7d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f8da7d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f8da7d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f8da7d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f8da7d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f8da7d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f8da7d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f8da7d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f8da7d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f8da7d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f8da610724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f8da610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f8da610724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f8da610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f8da7844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f8da77f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f8da77f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f8da77f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f8da78948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055f6d0445a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055f6d044970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055f6d044b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055f6d043f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f8d9e43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f8d9e43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055f6d043f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR19102.cpp.script: line 1: 552806 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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: FAIL: Clang :: Analysis/MismatchedDeallocator-checker-test.mm (394 of 19712) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-checker-test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007eff609d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007eff609ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007eff609d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007eff6a10ead0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007eff69435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007eff69435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007eff69435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007eff69435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007eff69435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007eff69435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007eff69435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007eff69435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007eff690d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007eff690d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007eff690d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007eff690d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007eff690d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007eff690d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007eff690d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007eff690d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007eff690d4e65 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 #21 0x00007eff690d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007eff690d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007eff690d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007eff690b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007eff690b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007eff690b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007eff690d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007eff690d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007eff690d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007eff690e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007eff690e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007eff690e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007eff690e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007eff690e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007eff690e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007eff690e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007eff690e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007eff690e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007eff6903da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007eff6903da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007eff6903da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007eff6903da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007eff6903df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007eff6903df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007eff6903df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007eff69097620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007eff69097620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007eff69097620 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 #49 0x00007eff69097620 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 #50 0x00007eff690977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007eff690977b2 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 0x00007eff6909dfaf clang::ento::ExprEngine::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 0x00007eff6903f9ea 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 0x00007eff6903fb9e 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:223:0 #55 0x00007eff6905109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007eff6905109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007eff6934c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007eff6934c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007eff6934c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007eff6934c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007eff6934c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007eff6934e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007eff6934e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007eff6934e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007eff69351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007eff69351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007eff69351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007eff69351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007eff69351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007eff6770724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007eff6770724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007eff6770724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007eff6770724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007eff68e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007eff68df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007eff68df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007eff68df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007eff68e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055fa4e0b3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055fa4e0b770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055fa4e0b9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055fa4e0ad903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007eff6a0f8f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007eff6a0f9009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055fa4e0ad945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-checker-test.mm.script: line 2: 552721 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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: FAIL: Clang :: Analysis/CheckNSError.m (395 of 19712) ******************** TEST 'Clang :: Analysis/CheckNSError.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f065f5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f065f5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f065f5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0668d22ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0668035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0668035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0668035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0668035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0668035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0668035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0668035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0668035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0667cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0667cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0667cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0667cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0667cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0667cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0667cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0667cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0667cd4e65 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 #21 0x00007f0667cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0667cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0667cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0667cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0667cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0667cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0667cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0667cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0667cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0667ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0667ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0667ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0667ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0667ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0667ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0667ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0667ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0667ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0667c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0667c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0667c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0667c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0667c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f0667c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f0667c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f0667e4870e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x00007f0667e4870e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007f0667e4870e 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 #49 0x00007f0667e4870e checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:65 #50 0x00007f0667e4870e 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:51 #51 0x00007f0667c1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #52 0x00007f0667c1ae16 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:26 #53 0x00007f0667c513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #54 0x00007f0667c513ec 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:0 #55 0x00007f0667c513ec 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 #56 0x00007f0667f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f0667f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f0667f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f0667f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f0667f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f0667f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f0667f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f0667f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f0667f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f0667f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f0667f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f0667f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f0667f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f066630724a __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 0x00007f066630724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f066630724a void clang::finalize>, 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 0x00007f066630724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f0667a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f06679f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f06679f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f06679f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f0667a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005603147f8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005603147fc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005603147fe440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005603147f2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f0668d0cf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f0668d0d009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005603147f2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckNSError.m.script: line 1: 552644 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/Issue56873.cpp (396 of 19712) ******************** TEST 'Clang :: Analysis/Issue56873.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7a995d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7a995ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7a995d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7aa2d17ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7aa2035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7aa2035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7aa2035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7aa2035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7aa2035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7aa2035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7aa2035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7aa2035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7aa1cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7aa1cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7aa1cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7aa1cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7aa1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7aa1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7aa1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7aa1cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7aa1cd4e65 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 #21 0x00007f7aa1cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7aa1cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7aa1cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7aa1cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7aa1cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7aa1cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7aa1cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7aa1cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7aa1cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7aa1ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7aa1ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7aa1ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7aa1ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7aa1ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7aa1ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7aa1ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7aa1ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7aa1ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7aa1c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7aa1c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7aa1c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7aa1c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7aa1c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7aa1c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7aa1c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7aa1c97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7aa1c97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7aa1c97620 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 #49 0x00007f7aa1c97620 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 #50 0x00007f7aa1c977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f7aa1c977b2 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 0x00007f7aa1c9dfaf clang::ento::ExprEngine::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 0x00007f7aa1c3fac2 clang::ento::CoreEngine::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 0x00007f7aa1c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f7aa1c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f7aa1f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f7aa1f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f7aa1f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f7aa1f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f7aa1f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f7aa1f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f7aa1f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f7aa1f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f7aa1f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f7aa1f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f7aa1f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f7aa1f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f7aa1f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f7aa030724a __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 0x00007f7aa030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f7aa030724a void clang::finalize>, 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 0x00007f7aa030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f7aa1a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f7aa19f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f7aa19f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f7aa19f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f7aa1a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005637657c6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005637657ca70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005637657cc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005637657c0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f7aa2d01f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f7aa2d02009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005637657c0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/Issue56873.cpp.script: line 1: 552703 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (397 of 19712) ******************** TEST 'Clang :: Analysis/DeleteWithNonVirtualDtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc5d2fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc5d2fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc5d2fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc5dc712ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc5dba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc5dba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc5dba35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc5dba35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc5dba35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc5dba35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc5dba35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc5dba35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc5db6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc5db6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc5db6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc5db6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc5db6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc5db6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc5db6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc5db6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc5db6d4e65 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 #21 0x00007fc5db6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc5db6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc5db6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc5db6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc5db6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc5db6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc5db6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc5db6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc5db6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc5db6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc5db6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc5db6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc5db6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc5db6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc5db6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc5db6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc5db6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc5db6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc5db63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc5db63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc5db63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc5db63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc5db63df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc5db63df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc5db63df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fc5db697620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fc5db697620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fc5db697620 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 #49 0x00007fc5db697620 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 #50 0x00007fc5db6977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fc5db6977b2 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 0x00007fc5db69dfaf clang::ento::ExprEngine::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 0x00007fc5db63f9ea 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 0x00007fc5db63fb9e 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:223:0 #55 0x00007fc5db65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fc5db65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fc5db94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fc5db94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fc5db94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fc5db94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fc5db94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fc5db94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fc5db94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fc5db94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fc5db951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fc5db951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fc5db951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fc5db951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fc5db951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fc5d9d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fc5d9d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fc5d9d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fc5d9d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fc5db444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fc5db3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fc5db3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fc5db3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fc5db4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000559b42ccda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000559b42cd170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000559b42cd3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000559b42cc7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fc5dc6fcf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fc5dc6fd009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000559b42cc7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeleteWithNonVirtualDtor.cpp.script: line 1: 552697 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/Checkers/RunLoopAutoreleaseLeakChecker.m (398 of 19712) ******************** TEST 'Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6fd37d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6fd37ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6fd37d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6fd2854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6fdc235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6fdc235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6fdc235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6fdc235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6fdc235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6fdc235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6fdc235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6fdc235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6fdbed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6fdbed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6fdbed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6fdbed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6fdbed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6fdbed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6fdbed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6fdbed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6fdbed4e65 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 #21 0x00007f6fdbed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6fdbed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6fdbed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6fdbeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6fdbeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6fdbeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6fdbed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6fdbed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6fdbed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6fdbee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6fdbee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6fdbee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6fdbee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6fdbee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6fdbee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6fdbee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6fdbee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6fdbee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6fdbe3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6fdbe3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6fdbe3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6fdbe3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6fdc386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6fdc386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6fdc386b68 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 #46 0x00007f6fdbe9808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f6fdbe9808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f6fdbe9808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f6fdbe9808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f6fdbe9808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f6fdbe9808c 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 #52 0x00007f6fdbe9bfee 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 #53 0x00007f6fdbe9bfee clang::ento::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 #54 0x00007f6fdbe9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f6fdbe9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f6fdbe3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f6fdbe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f6fdbe5109a clang::ento::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 0x00007f6fdc14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f6fdc14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f6fdc14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f6fdc14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f6fdc14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f6fdc14e0a7 llvm::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 0x00007f6fdc14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f6fdc14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f6fdc151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f6fdc151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f6fdc151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f6fdc151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f6fdc151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f6fda50724a __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 0x00007f6fda50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f6fda50724a void clang::finalize>, 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 0x00007f6fda50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6fdbc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f6fdbbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f6fdbbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f6fdbbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f6fdbc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056166b0e3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056166b0e770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056166b0e9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056166b0dd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6fd283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6fd283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056166b0dd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Checkers/Output/RunLoopAutoreleaseLeakChecker.m.script: line 6: 552659 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDelete-atomics.cpp (399 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-atomics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0fe0bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0fe0bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0fe0bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0fdfc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0fe926f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f0fe926f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f0fe926f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f0fe926f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f0fe926f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f0fe926f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f0fe926f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f0fe926f83e 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 0x00007f0fe9235656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f0fe9235656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f0fe9235656 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 0x00007f0fe9235656 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 0x00007f0fe923722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f0fe923722c 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 0x00007f0fe92e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f0fe92e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f0fe92e0dd8 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 #21 0x00007f0fe92e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f0fe92e1579 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 #23 0x00007f0fe927e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f0fe927e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f0fe927e6c7 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 #26 0x00007f0fe929353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f0fe929353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f0fe929353e 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 #29 0x00007f0fe9293f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f0fe9293f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f0fe9293f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0fe9293f1d 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 #33 0x00007f0fe923ce4e 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 0x00007f0fe9299b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f0fe9299b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f0fe9299b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f0fe9299b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f0fe9299b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f0fe9299b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f0fe9299b59 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 #41 0x00007f0fe929c69e 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 0x00007f0fe929c69e clang::ento::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 #43 0x00007f0fe929dc4e clang::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 0x00007f0fe929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f0fe923fac2 clang::ento::CoreEngine::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 0x00007f0fe925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f0fe925109a clang::ento::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 0x00007f0fe954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f0fe954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f0fe954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f0fe954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f0fe954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f0fe954e0a7 llvm::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 0x00007f0fe954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f0fe954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f0fe9551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f0fe9551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f0fe9551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f0fe9551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f0fe9551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f0fe790724a __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 0x00007f0fe790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f0fe790724a void clang::finalize>, 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 0x00007f0fe790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f0fe9044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f0fe8ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f0fe8ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f0fe8ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f0fe90948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055bb07e59a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055bb07e5d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055bb07e5f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055bb07e53903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f0fdfc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f0fdfc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055bb07e53945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-atomics.cpp.script: line 8: 552752 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDeleteLeaks-PR18394.cpp (400 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR18394.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3dea1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3dea1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3dea1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3de9254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3df2c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3df2c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3df2c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3df2c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3df2c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3df2c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3df2c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3df2c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3df28d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3df28d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3df28d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3df28d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3df28d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3df28d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3df28d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3df28d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3df28d4e65 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 #21 0x00007f3df28d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3df28d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3df28d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3df28b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3df28b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3df28b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3df28d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3df28d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3df28d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3df28e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3df28e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3df28e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3df28e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3df28e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3df28e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3df28e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3df28e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3df28e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3df283da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3df283da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3df283da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3df283da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3df283df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f3df283df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f3df283df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f3df2897620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f3df2897620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f3df2897620 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 #49 0x00007f3df2897620 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 #50 0x00007f3df28977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f3df28977b2 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 0x00007f3df289dfaf clang::ento::ExprEngine::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 0x00007f3df283f9ea 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 0x00007f3df283fb9e 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:223:0 #55 0x00007f3df285109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f3df285109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f3df2b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f3df2b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f3df2b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f3df2b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f3df2b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f3df2b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f3df2b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f3df2b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f3df2b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f3df2b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f3df2b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f3df2b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f3df2b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f3df0f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f3df0f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f3df0f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f3df0f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f3df2644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f3df25f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f3df25f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f3df25f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f3df26948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000556c65980a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000556c6598470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000556c65986440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000556c6597a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f3de923ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f3de923f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000556c6597a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR18394.cpp.script: line 1: 552800 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/CheckThatArraySubsciptNodeIsNotCollected.cpp (401 of 19712) ******************** TEST 'Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f38aa7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f38aa7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f38aa7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f38a9854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f38b3235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f38b3235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f38b3235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f38b3235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f38b3235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f38b3235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f38b3235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f38b3235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f38b2ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f38b2ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f38b2ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f38b2ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f38b2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f38b2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f38b2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f38b2ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f38b2ed4e65 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 #21 0x00007f38b2ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f38b2ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f38b2ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f38b2eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f38b2eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f38b2eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f38b2ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f38b2ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f38b2ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f38b2ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f38b2ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f38b2ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f38b2ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f38b2ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f38b2ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f38b2ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f38b2ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f38b2ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f38b2e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f38b2e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f38b2e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f38b2e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f38b3386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f38b3386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f38b3386b68 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 #46 0x00007f38b2e6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f38b2e6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f38b2e6bf90 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 #49 0x00007f38b2e6bf90 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 #50 0x00007f38b2e6bf90 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 #51 0x00007f38b2e6bf90 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 #52 0x00007f38b2e6bf90 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 #53 0x00007f38b2e6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f38b2e6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f38b2e6bf90 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 #56 0x00007f38b2e3f21a 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:0 #57 0x00007f38b2e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f38b2e5109a clang::ento::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 0x00007f38b314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f38b314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f38b314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f38b314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f38b314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f38b314e0a7 llvm::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 0x00007f38b314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f38b314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f38b3151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f38b3151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f38b3151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f38b3151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f38b3151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f38b150724a __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 0x00007f38b150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f38b150724a void clang::finalize>, 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 0x00007f38b150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f38b2c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f38b2bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f38b2bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f38b2bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f38b2c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a92605aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a92605e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a926060440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a926054903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f38a983ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f38a983f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a926054945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckThatArraySubsciptNodeIsNotCollected.cpp.script: line 1: 552647 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/Malloc+MismatchedDeallocator+NewDelete.cpp (402 of 19712) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7e69bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7e69bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7e69bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7e68c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7e72635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7e72635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7e72635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7e72635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7e72635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7e72635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7e72635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7e72635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7e722d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7e722d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7e722d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7e722d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7e722d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7e722d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7e722d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7e722d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7e722d4e65 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 #21 0x00007f7e722d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7e722d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7e722d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7e722b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7e722b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7e722b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7e722d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7e722d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7e722d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7e722e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7e722e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7e722e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7e722e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7e722e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7e722e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7e722e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7e722e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7e722e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7e7223da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7e7223da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7e7223da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7e7223da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7e7223df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7e7223df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7e7223df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7e72297620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7e72297620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7e72297620 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 #49 0x00007f7e72297620 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 #50 0x00007f7e722977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f7e722977b2 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 0x00007f7e7229dfaf clang::ento::ExprEngine::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 0x00007f7e7223fac2 clang::ento::CoreEngine::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 0x00007f7e7225109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f7e7225109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f7e7254c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f7e7254c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f7e7254c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f7e7254c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f7e7254c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f7e7254e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f7e7254e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f7e7254e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f7e72551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f7e72551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f7e72551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f7e72551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f7e72551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f7e7090724a __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 0x00007f7e7090724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f7e7090724a void clang::finalize>, 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 0x00007f7e7090724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f7e72044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f7e71ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f7e71ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f7e71ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f7e720948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005575ef819a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005575ef81d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005575ef81f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005575ef813903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f7e68c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f7e68c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005575ef813945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator+NewDelete.cpp.script: line 2: 552717 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/Malloc+MismatchedDeallocator_intersections.cpp (403 of 19712) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbfe45d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbfe45ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbfe45d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbfe3654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbfed014a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbfed014a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbfed014a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbfed014a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbfed014a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbfed014a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbfed014a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbfed014a5e (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 0x00007fbfecde8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fbfecde8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fbfecde8fd5 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 0x00007fbfecc2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fbfecc2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fbfecc2397a 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:29 #18 0x00007fbfecc2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fbfecce8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fbfecce8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fbfecce8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fbfecce8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fbfecce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fbfecce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fbfecce9060 clang::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 0x00007fbfecc3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fbfecc3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fbfecc3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fbfecc3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fbfed186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fbfed186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fbfed186b68 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 0x00007fbfece15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fbfece15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fbfece15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fbfece15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fbfece15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fbfece15ff0 (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 0x00007fbfece186f2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fbfece186f2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fbfece186f2 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x00007fbfece186f2 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x00007fbfece186f2 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 0x00007fbfecc2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fbfecc2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fbfecc2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fbfecc2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fbfecc2561d 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:26 #49 0x00007fbfecc7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fbfecc7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fbfecc7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fbfecc7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fbfecc7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fbfecc7ecbc 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:0 #55 0x00007fbfecc7f767 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:0 #56 0x00007fbfecc9c6f1 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 0x00007fbfecc9c6f1 clang::ento::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 0x00007fbfecc9dc4e clang::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 0x00007fbfecc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fbfecc3fac2 clang::ento::CoreEngine::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 0x00007fbfecc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fbfecc5109a clang::ento::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 0x00007fbfecf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fbfecf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fbfecf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fbfecf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fbfecf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fbfecf4e0a7 llvm::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 0x00007fbfecf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fbfecf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fbfecf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fbfecf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fbfecf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fbfecf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fbfecf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fbfeb30724a __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 0x00007fbfeb30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fbfeb30724a void clang::finalize>, 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 0x00007fbfeb30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fbfeca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fbfec9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fbfec9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fbfec9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fbfeca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055baacd05a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055baacd0970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055baacd0b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055baaccff903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fbfe363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fbfe363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055baaccff945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator_intersections.cpp.script: line 1: 552715 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/CFRetainRelease_NSAssertionHandler.m (404 of 19712) ******************** TEST 'Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8af6fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8af6fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8af6fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8af6054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8affa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8affa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8affa35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8affa35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8affa35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8affa35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8affa35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8affa35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8aff6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8aff6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8aff6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8aff6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8aff6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8aff6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8aff6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8aff6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8aff6d4e65 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 #21 0x00007f8aff6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8aff6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8aff6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8aff6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8aff6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8aff6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8aff6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8aff6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8aff6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8aff6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8aff6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8aff6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8aff6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8aff6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8aff6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8aff6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8aff6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8aff6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8aff63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8aff63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8aff63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8aff63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8affb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8affb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8affb86b68 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 #46 0x00007f8aff669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f8aff669db3 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 #48 0x00007f8aff669db3 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 #49 0x00007f8aff69d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f8aff69d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f8aff69d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f8aff69d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f8aff69d93e clang::ento::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 #54 0x00007f8aff69dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f8aff69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f8aff63fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f8aff65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f8aff65109a clang::ento::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 0x00007f8aff94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f8aff94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f8aff94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f8aff94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f8aff94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f8aff94e0a7 llvm::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 0x00007f8aff94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f8aff94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f8aff951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f8aff951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f8aff951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f8aff951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f8aff951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f8afdd0724a __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 0x00007f8afdd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f8afdd0724a void clang::finalize>, 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 0x00007f8afdd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f8aff444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f8aff3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f8aff3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f8aff3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f8aff4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055ff41d3fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055ff41d4370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055ff41d45440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055ff41d39903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f8af603ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f8af603f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055ff41d39945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFRetainRelease_NSAssertionHandler.m.script: line 1: 552631 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDelete-path-notes.cpp (405 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fcbfc7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcbfc7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcbfc7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcbfb854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcc05235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fcc05235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fcc05235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fcc05235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fcc05235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fcc05235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fcc05235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fcc05235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fcc04ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fcc04ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fcc04ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fcc04ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fcc04ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fcc04ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fcc04ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fcc04ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fcc04ed4e65 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 #21 0x00007fcc04ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fcc04ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fcc04ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fcc04eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fcc04eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fcc04eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fcc04ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fcc04ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fcc04ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fcc04ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fcc04ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fcc04ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fcc04ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fcc04ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fcc04ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fcc04ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fcc04ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fcc04ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fcc04e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fcc04e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fcc04e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fcc04e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fcc05386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fcc05386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fcc05386b68 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 #46 0x00007fcc0501b114 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007fcc0501b114 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007fcc0501b114 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007fcc0501b114 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007fcc0501b114 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007fcc0501b114 (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 #52 0x00007fcc0501d4ba llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #53 0x00007fcc0501d4ba llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fcc0501d4ba checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2867:0 #55 0x00007fcc0501d4ba 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 #56 0x00007fcc04e2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #57 0x00007fcc04e2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #58 0x00007fcc04e2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #59 0x00007fcc04e2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #60 0x00007fcc04e2561d 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:26 #61 0x00007fcc04e97b86 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #62 0x00007fcc04e97b86 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #63 0x00007fcc04e97b86 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #64 0x00007fcc04e97b86 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #65 0x00007fcc04e97b86 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #66 0x00007fcc04e97b86 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #67 0x00007fcc04e97b86 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 #68 0x00007fcc04e9d11e clang::ento::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 #69 0x00007fcc04e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #70 0x00007fcc04e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #71 0x00007fcc04e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #72 0x00007fcc04e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #73 0x00007fcc04e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #74 0x00007fcc0514c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #75 0x00007fcc0514c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #76 0x00007fcc0514c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #77 0x00007fcc0514c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #78 0x00007fcc0514c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #79 0x00007fcc0514e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #80 0x00007fcc0514e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #81 0x00007fcc0514e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #82 0x00007fcc05151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #83 0x00007fcc05151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #84 0x00007fcc05151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #85 0x00007fcc05151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #86 0x00007fcc05151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #87 0x00007fcc0350724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #88 0x00007fcc0350724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #89 0x00007fcc0350724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #90 0x00007fcc0350724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #91 0x00007fcc04c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #92 0x00007fcc04bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #93 0x00007fcc04bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #94 0x00007fcc04bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #95 0x00007fcc04c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #96 0x000055e00f372a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #97 0x000055e00f37670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #98 0x000055e00f378440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #99 0x000055e00f36c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #100 0x00007fcbfb83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #101 0x00007fcbfb83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #102 0x000055e00f36c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.script: line 3: 552762 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDelete+MismatchedDeallocator_intersections.cpp (406 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fee4a3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fee4a3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fee4a3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fee49454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fee52e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fee52e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fee52e14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fee52e14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fee52e14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fee52e14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fee52e14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fee52e14a5e (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 0x00007fee52be8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fee52be8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fee52be8fd5 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 0x00007fee52a2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fee52a2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fee52a2397a 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:29 #18 0x00007fee52a2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fee52ae8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fee52ae8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fee52ae8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fee52ae8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fee52ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fee52ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fee52ae9060 clang::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 0x00007fee52a3db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fee52a3db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fee52a3db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fee52a3db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fee52f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fee52f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fee52f86b68 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 0x00007fee52c15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fee52c15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fee52c15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fee52c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fee52c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fee52c15ff0 (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 0x00007fee52c1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fee52c1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fee52c1647b (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 0x00007fee52c1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007fee52c1851b 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 0x00007fee52a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fee52a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fee52a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fee52a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fee52a2561d 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:26 #49 0x00007fee52a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fee52a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fee52a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fee52a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fee52a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fee52a7ecbc 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:0 #55 0x00007fee52a7f767 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:0 #56 0x00007fee52a9c6f1 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 0x00007fee52a9c6f1 clang::ento::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 0x00007fee52a9dc4e clang::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 0x00007fee52a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fee52a3fac2 clang::ento::CoreEngine::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 0x00007fee52a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fee52a5109a clang::ento::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 0x00007fee52d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fee52d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fee52d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fee52d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fee52d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fee52d4e0a7 llvm::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 0x00007fee52d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fee52d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fee52d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fee52d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fee52d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fee52d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fee52d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fee5110724a __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 0x00007fee5110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fee5110724a void clang::finalize>, 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 0x00007fee5110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fee52844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fee527f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fee527f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fee527f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fee528948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055a3c3f33a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055a3c3f3770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055a3c3f39440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055a3c3f2d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fee4943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fee4943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055a3c3f2d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete+MismatchedDeallocator_intersections.cpp.script: line 2: 552745 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-checker-test.cpp (407 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-checker-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe94d5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe94d5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe94d5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe956d23ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe956014a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe956014a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe956014a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe956014a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe956014a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe956014a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe956014a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe956014a5e (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 0x00007fe955de8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fe955de8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fe955de8fd5 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 0x00007fe955c2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fe955c2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fe955c2397a 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:29 #18 0x00007fe955c2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fe955ce8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fe955ce8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fe955ce8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fe955ce8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fe955ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fe955ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fe955ce9060 clang::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 0x00007fe955c3db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fe955c3db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fe955c3db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fe955c3db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fe956186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fe956186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fe956186b68 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 0x00007fe955e15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fe955e15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fe955e15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fe955e15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fe955e15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fe955e15ff0 (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 0x00007fe955e186f2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fe955e186f2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fe955e186f2 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x00007fe955e186f2 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x00007fe955e186f2 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 0x00007fe955c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fe955c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fe955c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fe955c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fe955c2561d 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:26 #49 0x00007fe955c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fe955c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fe955c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fe955c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fe955c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fe955c7ecbc 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:0 #55 0x00007fe955c7f767 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:0 #56 0x00007fe955c9c6f1 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 0x00007fe955c9c6f1 clang::ento::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 0x00007fe955c9dc4e clang::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 0x00007fe955c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe955c3fac2 clang::ento::CoreEngine::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 0x00007fe955c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fe955c5109a clang::ento::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 0x00007fe955f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fe955f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fe955f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fe955f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fe955f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fe955f4e0a7 llvm::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 0x00007fe955f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fe955f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fe955f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fe955f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fe955f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fe955f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fe955f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fe95430724a __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 0x00007fe95430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fe95430724a void clang::finalize>, 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 0x00007fe95430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fe955a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fe9559f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fe9559f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fe9559f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fe955a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x0000557faca70a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000557faca7470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000557faca76440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000557faca6a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fe956d0df50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fe956d0e009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x0000557faca6a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-checker-test.cpp.script: line 6: 552754 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/CFContainers.mm (409 of 19712) ******************** TEST 'Clang :: Analysis/CFContainers.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4e0fdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4e0fdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4e0fdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4e0ee54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4e18819146 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4e18819146 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4e18819146 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4e18819146 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4e18819146 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4e18819146 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 0x00007f4e18819146 get<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4e18819146 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #12 0x00007f4e18819146 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #13 0x00007f4e18819146 (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 #14 0x00007f4e18658af7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x00007f4e18658af7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x00007f4e18658af7 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 #17 0x00007f4e1842384f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007f4e1842384f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f4e1842384f 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:29 #20 0x00007f4e1842384f 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:33 #21 0x00007f4e18478180 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #22 0x00007f4e18478180 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #23 0x00007f4e18478180 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 #24 0x00007f4e184b8b33 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #25 0x00007f4e184b8b33 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #26 0x00007f4e184b8b33 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:211:58 #27 0x00007f4e18434dc4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #28 0x00007f4e18434dc4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #29 0x00007f4e18434dc4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #30 0x00007f4e18434dc4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #31 0x00007f4e184932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #32 0x00007f4e184932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #33 0x00007f4e184932e9 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 #34 0x00007f4e18493c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x00007f4e18493c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007f4e18493c90 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 #37 0x00007f4e1843ce4e 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 #38 0x00007f4e1847eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #39 0x00007f4e1847eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #40 0x00007f4e1847eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #41 0x00007f4e1847eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #42 0x00007f4e1847eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #43 0x00007f4e1847eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #44 0x00007f4e1847eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #45 0x00007f4e1847eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #46 0x00007f4e1847eb8e 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:695:0 #47 0x00007f4e1847f767 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:0 #48 0x00007f4e1849c6f1 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 0x00007f4e1849c6f1 clang::ento::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 #50 0x00007f4e1849dc4e clang::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 0x00007f4e1849df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f4e1843fac2 clang::ento::CoreEngine::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 0x00007f4e1845109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x00007f4e1845109a clang::ento::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 0x00007f4e1874c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4e1874c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4e1874c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4e1874c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4e1874c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4e1874e0a7 llvm::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 0x00007f4e1874e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4e1874e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4e18751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4e18751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4e18751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4e18751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4e18751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f4e16b0724a __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 0x00007f4e16b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f4e16b0724a void clang::finalize>, 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 0x00007f4e16b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4e18244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f4e181f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f4e181f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f4e181f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4e182948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005632f6209a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005632f620d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005632f620f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005632f6203903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f4e0ee3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f4e0ee3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005632f6203945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFContainers.mm.script: line 1: 552625 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/MemRegion.cpp (417 of 19712) ******************** TEST 'Clang :: Analysis/MemRegion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe2f61d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe2f61ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe2f61d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe2ff919ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe2fe86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fe2fe86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fe2fe86efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fe2fe86efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fe2fe86efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fe2fe86efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fe2fe86efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fe2fe86efd6 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 0x00007fe2fe89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fe2fe89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fe2fe83f9ea 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 #15 0x00007fe2fe83fb9e 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:223:0 #16 0x00007fe2fe85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fe2fe85109a clang::ento::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 0x00007fe2feb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fe2feb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fe2feb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fe2feb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fe2feb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fe2feb4e0a7 llvm::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 0x00007fe2feb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fe2feb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fe2feb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fe2feb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fe2feb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fe2feb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fe2feb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fe2fcf0724a __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 0x00007fe2fcf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fe2fcf0724a void clang::finalize>, 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 0x00007fe2fcf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fe2fe644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fe2fe5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fe2fe5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fe2fe5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fe2fe6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000561ee51cfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000561ee51d370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000561ee51d5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000561ee51c9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fe2ff903f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fe2ff904009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000561ee51c9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/MemRegion.cpp.script: line 1: 552718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDelete-variadic.cpp (418 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-variadic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f00c4bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f00c4bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f00c4bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f00c3c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f00cd27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f00cd27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f00cd27d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f00cd27d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f00cd27d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f00cd27d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f00cd27d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f00cd27d99e 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 0x00007f00cd23ed11 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 0x00007f00cd23fc1e 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 0x00007f00cd25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f00cd25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f00cd54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f00cd54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f00cd54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f00cd54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f00cd54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f00cd54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f00cd54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f00cd54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f00cd551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f00cd551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f00cd551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f00cd551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f00cd551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f00cb90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f00cb90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f00cb90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f00cb90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f00cd044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f00ccff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f00ccff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f00ccff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f00cd0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x00005606b1893a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x00005606b189770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x00005606b1899440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x00005606b188d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f00c3c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f00c3c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x00005606b188d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-variadic.cpp.script: line 1: 552787 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/CGColorSpace.c (419 of 19712) ******************** TEST 'Clang :: Analysis/CGColorSpace.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3f6cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3f6cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3f6cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3f6bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3f754aa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f3f754aa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3f754aa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3f754aa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f3f754aa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f3f754aa5d6 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 0x00007f3f754aa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f3f754aa5d6 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:0 #12 0x00007f3f7521bfa7 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 0x00007f3f7526f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f3f7526f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f3f7526f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f3f7526f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f3f7526f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f3f7526f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f3f7526f23c 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 0x00007f3f7529db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f3f7529df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f3f7523fac2 clang::ento::CoreEngine::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 0x00007f3f7525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f3f7525109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f3f7554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f3f7554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f3f7554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f3f7554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f3f7554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f3f7554e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f3f7554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f3f7554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f3f75551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f3f75551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f3f75551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f3f75551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f3f75551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f3f7390724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f3f7390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f3f7390724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f3f7390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f3f75044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f3f74ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f3f74ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f3f74ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f3f750948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055c408693a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055c40869770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055c408699440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055c40868d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f3f6bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f3f6bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055c40868d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CGColorSpace.c.script: line 1: 552633 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/DynamicTypePropagation.m (420 of 19712) ******************** TEST 'Clang :: Analysis/DynamicTypePropagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1aa69d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1aa69ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1aa69d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1aa5a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1aaf0454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1aaf0454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1aaf0454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1aaf0454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1aaf0454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1aaf0454e6 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 0x00007f1aaf0454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1aaf0454e6 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:0 #12 0x00007f1aaf4218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f1aaf4218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f1aaf4218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007f1aaf4218a5 (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 0x00007f1aaf01bfa7 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 0x00007f1aaf06f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f1aaf06f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f1aaf06f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f1aaf06f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f1aaf06f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f1aaf06f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f1aaf06f23c 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 0x00007f1aaf09db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007f1aaf09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007f1aaf03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007f1aaf05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007f1aaf05109a clang::ento::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 0x00007f1aaf34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f1aaf34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f1aaf34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007f1aaf34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007f1aaf34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007f1aaf34e0a7 llvm::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 0x00007f1aaf34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007f1aaf34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007f1aaf351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007f1aaf351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007f1aaf351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007f1aaf351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007f1aaf351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007f1aad70724a __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 0x00007f1aad70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007f1aad70724a void clang::finalize>, 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 0x00007f1aad70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007f1aaee44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007f1aaedf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007f1aaedf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007f1aaedf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007f1aaee948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x00005573c428aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x00005573c428e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x00005573c4290440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x00005573c4284903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007f1aa5a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007f1aa5a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x00005573c4284945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/DynamicTypePropagation.m.script: line 1: 552698 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/DeallocUseAfterFreeErrors.m (421 of 19712) ******************** TEST 'Clang :: Analysis/DeallocUseAfterFreeErrors.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa264fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa264fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa264fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa264054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa26da35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa26da35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa26da35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa26da35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa26da35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa26da35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa26da35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa26da35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa26d6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa26d6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa26d6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa26d6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa26d6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa26d6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa26d6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa26d6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa26d6d4e65 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 #21 0x00007fa26d6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa26d6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa26d6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa26d6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa26d6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa26d6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa26d6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa26d6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa26d6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa26d6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa26d6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa26d6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa26d6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa26d6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa26d6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa26d6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa26d6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa26d6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa26d63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa26d63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa26d63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa26d63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa26d63df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa26d63df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa26d63df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa26d60953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa26d60953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa26d60953e 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 #49 0x00007fa26d650eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa26d650eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa26d650eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fa26d65149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa26d65149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa26d65149e 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 #55 0x00007fa26d94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa26d94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa26d94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa26d94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa26d94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa26d94e0a7 llvm::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 0x00007fa26d94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa26d94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa26d951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa26d951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa26d951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa26d951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa26d951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa26bd0724a __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 0x00007fa26bd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa26bd0724a void clang::finalize>, 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 0x00007fa26bd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa26d444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa26d3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa26d3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa26d3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa26d4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000559221914a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055922191870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055922191a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055922190e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa26403ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa26403f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055922190e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocUseAfterFreeErrors.m.script: line 1: 552684 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/MissingDealloc.m (422 of 19712) ******************** TEST 'Clang :: Analysis/MissingDealloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff3b43d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff3b43ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff3b43d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff3b3454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff3bce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff3bce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff3bce35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff3bce35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff3bce35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff3bce35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff3bce35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff3bce35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff3bcad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff3bcad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff3bcad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff3bcad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff3bcad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff3bcad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff3bcad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff3bcad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff3bcad4e65 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 #21 0x00007ff3bcad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff3bcad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff3bcad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff3bcab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff3bcab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff3bcab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff3bcad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff3bcad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff3bcad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff3bcae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff3bcae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff3bcae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff3bcae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff3bcae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff3bcae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff3bcae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff3bcae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff3bcae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff3bca3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff3bca3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff3bca3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff3bca3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff3bca3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff3bca3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff3bca3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff3bca0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff3bca0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff3bca0953e 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 #49 0x00007ff3bca50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff3bca50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff3bca50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007ff3bca5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff3bca5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff3bca5149e 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 #55 0x00007ff3bcd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff3bcd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff3bcd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff3bcd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff3bcd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff3bcd4e0a7 llvm::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 0x00007ff3bcd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff3bcd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff3bcd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff3bcd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff3bcd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff3bcd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff3bcd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff3bb10724a __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 0x00007ff3bb10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff3bb10724a void clang::finalize>, 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 0x00007ff3bb10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff3bc844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff3bc7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff3bc7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff3bc7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff3bc8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055b0ea1eca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055b0ea1f070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055b0ea1f2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055b0ea1e6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007ff3b343ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007ff3b343f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055b0ea1e6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/MissingDealloc.m.script: line 2: 552725 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/CFNumber.c (423 of 19712) ******************** TEST 'Clang :: Analysis/CFNumber.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f940d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f940d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f940d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f940c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f94160aa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f94160aa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f94160aa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f94160aa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f94160aa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f94160aa5d6 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 0x00007f94160aa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f94160aa5d6 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:0 #12 0x00007f9415e1bfa7 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 0x00007f9415e6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f9415e6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f9415e6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f9415e6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f9415e6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f9415e6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f9415e6f23c 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 0x00007f9415e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f9415e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9415e3fac2 clang::ento::CoreEngine::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 0x00007f9415e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f9415e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f941614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f941614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f941614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f941614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f941614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f941614e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f941614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f941614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f9416151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f9416151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f9416151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f9416151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f9416151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f941450724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f941450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f941450724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f941450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f9415c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f9415bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f9415bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f9415bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f9415c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055f96145da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055f96146170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055f961463440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055f961457903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f940c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f940c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055f961457945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFNumber.c.script: line 1: 552630 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NSContainers.m (424 of 19712) ******************** TEST 'Clang :: Analysis/NSContainers.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0e53bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0e53bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0e53bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0e52c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0e5c61faee retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0e5c61faee retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0e5c61faee retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0e5c61faee IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0e5c61faee ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0e5c61faee MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0e5c61faee get<(anonymous namespace)::NullabilityMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0e5c61faee (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 0x00007f0e5c21bfa7 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 0x00007f0e5c26f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f0e5c26f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f0e5c26f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f0e5c26f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f0e5c26f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f0e5c26f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f0e5c26f23c 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 0x00007f0e5c29db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f0e5c29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f0e5c23fac2 clang::ento::CoreEngine::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 0x00007f0e5c25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f0e5c25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f0e5c54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f0e5c54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f0e5c54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f0e5c54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f0e5c54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f0e5c54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f0e5c54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f0e5c54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f0e5c551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f0e5c551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f0e5c551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f0e5c551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f0e5c551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f0e5a90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f0e5a90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f0e5a90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f0e5a90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f0e5c044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f0e5bff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f0e5bff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f0e5bff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f0e5c0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055adc009aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055adc009e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055adc00a0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055adc0094903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f0e52c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f0e52c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055adc0094945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSContainers.m.script: line 1: 552726 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NSPanel.m (425 of 19712) ******************** TEST 'Clang :: Analysis/NSPanel.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f912f9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f912f9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f912f9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f912ea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9138435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9138435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9138435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9138435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9138435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9138435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9138435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9138435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f91380d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f91380d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f91380d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f91380d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f91380d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f91380d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f91380d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f91380d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f91380d4e65 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 #21 0x00007f91380d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f91380d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f91380d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f91380b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f91380b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f91380b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f91380d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f91380d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f91380d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f91380e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f91380e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f91380e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f91380e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f91380e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f91380e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f91380e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f91380e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f91380e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f913803da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f913803da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f913803da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f913803da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f913803df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f913803df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f913803df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f913800953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f913800953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f913800953e 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 #49 0x00007f9138050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f9138050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f9138050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f913805149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f913805149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f913805149e 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 #55 0x00007f913834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f913834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f913834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f913834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f913834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f913834e0a7 llvm::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 0x00007f913834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f913834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f9138351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f9138351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f9138351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f9138351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f9138351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f913670724a __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 0x00007f913670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f913670724a void clang::finalize>, 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 0x00007f913670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f9137e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f9137df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f9137df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f9137df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f9137e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055b0fe328a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055b0fe32c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055b0fe32e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055b0fe322903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f912ea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f912ea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055b0fe322945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSPanel.m.script: line 1: 552730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-sized-deallocation.cpp (426 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-sized-deallocation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4a92dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4a92dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4a92dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4a91e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4a9b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4a9b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4a9b835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4a9b835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4a9b835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4a9b835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4a9b835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4a9b835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4a9b4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4a9b4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4a9b4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4a9b4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4a9b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4a9b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4a9b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4a9b4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4a9b4d4e65 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 #21 0x00007f4a9b4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4a9b4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4a9b4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4a9b4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4a9b4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4a9b4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4a9b4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4a9b4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4a9b4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4a9b4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4a9b4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4a9b4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4a9b4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4a9b4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4a9b4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4a9b4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4a9b4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4a9b4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4a9b43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4a9b43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4a9b43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4a9b43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4a9b43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4a9b43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4a9b43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4a9b497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4a9b497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4a9b497620 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 #49 0x00007f4a9b497620 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 #50 0x00007f4a9b4977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f4a9b4977b2 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 0x00007f4a9b49dfaf clang::ento::ExprEngine::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 0x00007f4a9b43f9ea 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 0x00007f4a9b43fb9e 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:223:0 #55 0x00007f4a9b45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f4a9b45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f4a9b74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f4a9b74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f4a9b74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f4a9b74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f4a9b74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f4a9b74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f4a9b74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f4a9b74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f4a9b751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f4a9b751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f4a9b751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f4a9b751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f4a9b751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f4a99b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f4a99b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f4a99b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f4a99b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f4a9b244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f4a9b1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f4a9b1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f4a9b1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f4a9b2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000564058bbea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000564058bc270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000564058bc4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000564058bb8903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f4a91e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f4a91e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000564058bb8945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-sized-deallocation.cpp.script: line 18: 552773 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NSWindow.m (427 of 19712) ******************** TEST 'Clang :: Analysis/NSWindow.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe5ba5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe5ba5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe5ba5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe5b9654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe5c2c454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe5c2c454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe5c2c454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe5c2c454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe5c2c454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe5c2c454e6 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 0x00007fe5c2c454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe5c2c454e6 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:0 #12 0x00007fe5c30218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fe5c30218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fe5c30218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007fe5c30218a5 (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 0x00007fe5c2c1bfa7 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 0x00007fe5c2c6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007fe5c2c6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007fe5c2c6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007fe5c2c6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007fe5c2c6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007fe5c2c6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007fe5c2c6f23c 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 0x00007fe5c2c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007fe5c2c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007fe5c2c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007fe5c2c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007fe5c2c5109a clang::ento::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 0x00007fe5c2f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fe5c2f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fe5c2f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007fe5c2f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007fe5c2f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007fe5c2f4e0a7 llvm::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 0x00007fe5c2f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007fe5c2f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007fe5c2f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007fe5c2f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007fe5c2f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007fe5c2f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007fe5c2f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007fe5c130724a __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 0x00007fe5c130724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007fe5c130724a void clang::finalize>, 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 0x00007fe5c130724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007fe5c2a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007fe5c29f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007fe5c29f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007fe5c29f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007fe5c2a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000055ea62a57a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000055ea62a5b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000055ea62a5d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000055ea62a51903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007fe5b963ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007fe5b963f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x000055ea62a51945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSWindow.m.script: line 1: 552734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDelete-custom.cpp (428 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-custom.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff6531d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff6531ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff6531d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff652254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff65bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff65bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff65bc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff65bc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff65bc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff65bc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff65bc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff65bc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff65b8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff65b8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff65b8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff65b8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff65b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff65b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff65b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff65b8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff65b8d4e65 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 #21 0x00007ff65b8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff65b8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff65b8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff65b8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff65b8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff65b8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff65b8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff65b8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff65b8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff65b8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff65b8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff65b8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff65b8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff65b8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff65b8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff65b8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff65b8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff65b8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff65b83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff65b83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff65b83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff65b83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff65b83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff65b83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff65b83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff65b897620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff65b897620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff65b897620 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 #49 0x00007ff65b897620 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 #50 0x00007ff65b8977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007ff65b8977b2 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 0x00007ff65b89dfaf clang::ento::ExprEngine::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 0x00007ff65b83fac2 clang::ento::CoreEngine::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 0x00007ff65b85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007ff65b85109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007ff65bb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007ff65bb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007ff65bb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007ff65bb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007ff65bb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007ff65bb4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007ff65bb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007ff65bb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007ff65bb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007ff65bb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007ff65bb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007ff65bb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007ff65bb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007ff659f0724a __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 0x00007ff659f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007ff659f0724a void clang::finalize>, 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 0x00007ff659f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007ff65b644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007ff65b5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007ff65b5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007ff65b5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007ff65b6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000558558779a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055855877d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055855877f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000558558773903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007ff65223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007ff65223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000558558773945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-custom.cpp.script: line 2: 552758 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-intersections.mm (429 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-intersections.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb3e47d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb3e47ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb3e47d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb3e3854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb3ed235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb3ed235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb3ed235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb3ed235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb3ed235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb3ed235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb3ed235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb3ed235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb3eced408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb3eced408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb3eced408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb3eced408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb3eced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb3eced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb3eced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb3eced408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb3eced4e65 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 #21 0x00007fb3eced4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb3eced4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb3eced4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb3eceb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb3eceb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb3eceb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb3eced643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb3eced643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb3eced643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb3ecee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb3ecee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb3ecee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb3ecee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb3ecee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb3ecee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb3ecee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb3ecee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb3ecee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb3ece3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb3ece3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb3ece3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb3ece3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb3ece3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fb3ece3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fb3ece3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fb3ece97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fb3ece97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fb3ece97620 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 #49 0x00007fb3ece97620 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 #50 0x00007fb3ece977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fb3ece977b2 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 0x00007fb3ece9dfaf clang::ento::ExprEngine::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 0x00007fb3ece3f9ea 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 0x00007fb3ece3fb9e 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:223:0 #55 0x00007fb3ece5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fb3ece5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fb3ed14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fb3ed14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fb3ed14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fb3ed14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fb3ed14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fb3ed14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fb3ed14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fb3ed14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fb3ed151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fb3ed151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fb3ed151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fb3ed151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fb3ed151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fb3eb50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fb3eb50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fb3eb50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fb3eb50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fb3ecc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fb3ecbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fb3ecbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fb3ecbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fb3ecc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000557696305a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055769630970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055769630b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x00005576962ff903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fb3e383ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fb3e383f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x00005576962ff945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-intersections.mm.script: line 3: 552760 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/DeallocMissingRelease.m (430 of 19712) ******************** TEST 'Clang :: Analysis/DeallocMissingRelease.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f98179d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f98179ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f98179d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9816a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9820435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9820435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9820435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9820435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9820435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9820435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9820435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9820435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f98200d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f98200d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f98200d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f98200d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f98200d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f98200d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f98200d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f98200d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f98200d4e65 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 #21 0x00007f98200d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f98200d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f98200d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f98200b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f98200b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f98200b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f98200d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f98200d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f98200d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f98200e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f98200e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f98200e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f98200e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f98200e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f98200e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f98200e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f98200e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f98200e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f982003da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f982003da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f982003da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f982003da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f982003df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f982003df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f982003df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f982000953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f982000953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f982000953e 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 #49 0x00007f9820050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f9820050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f9820050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f982005149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f982005149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f982005149e 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 #55 0x00007f982034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f982034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f982034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f982034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f982034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f982034e0a7 llvm::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 0x00007f982034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f982034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f9820351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f9820351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f9820351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f9820351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f9820351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f981e70724a __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 0x00007f981e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f981e70724a void clang::finalize>, 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 0x00007f981e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f981fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f981fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f981fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f981fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f981fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000560b3c362a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000560b3c36670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000560b3c368440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000560b3c35c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f9816a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f9816a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000560b3c35c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocMissingRelease.m.script: line 3: 552686 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NSString.m (431 of 19712) ******************** TEST 'Clang :: Analysis/NSString.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa18f7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa18f7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa18f7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa18e854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa198235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa198235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa198235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa198235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa198235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa198235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa198235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa198235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa197ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa197ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa197ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa197ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa197ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa197ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa197ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa197ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa197ed4e65 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 #21 0x00007fa197ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa197ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa197ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa197eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa197eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa197eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa197ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa197ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa197ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa197ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa197ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa197ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa197ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa197ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa197ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa197ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa197ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa197ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa197e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa197e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa197e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa197e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa197e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa197e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa197e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa197e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa197e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa197e0953e 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 #49 0x00007fa197e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa197e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa197e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fa197e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa197e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa197e5149e 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 #55 0x00007fa19814c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa19814c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa19814c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa19814c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa19814c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa19814e0a7 llvm::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 0x00007fa19814e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa19814e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa198151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa198151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa198151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa198151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa198151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa19650724a __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 0x00007fa19650724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa19650724a void clang::finalize>, 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 0x00007fa19650724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa197c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa197bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa197bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa197bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa197c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005581e39cba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005581e39cf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005581e39d1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005581e39c5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa18e83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa18e83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005581e39c5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSString.m.script: line 4: 552735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/MismatchedDeallocator-path-notes.cpp (447 of 19712) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff8fb1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff8fb1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff8fb1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff8fa254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff903c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff903c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff903c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff903c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff903c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff903c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff903c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff903c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff9038d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff9038d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff9038d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff9038d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff9038d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff9038d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff9038d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff9038d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff9038d4e65 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 #21 0x00007ff9038d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff9038d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff9038d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff9038b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff9038b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff9038b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff9038d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff9038d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff9038d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff9038e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff9038e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff9038e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff9038e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff9038e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff9038e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff9038e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff9038e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff9038e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff90383da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff90383da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff90383da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff90383da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff90383df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff90383df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff90383df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff903897620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff903897620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff903897620 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 #49 0x00007ff903897620 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 #50 0x00007ff9038977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007ff9038977b2 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 0x00007ff90389dfaf clang::ento::ExprEngine::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 0x00007ff90383fac2 clang::ento::CoreEngine::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 0x00007ff90385109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007ff90385109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007ff903b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007ff903b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007ff903b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007ff903b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007ff903b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007ff903b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007ff903b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007ff903b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007ff903b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007ff903b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007ff903b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007ff903b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007ff903b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007ff901f0724a __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 0x00007ff901f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007ff901f0724a void clang::finalize>, 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 0x00007ff901f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007ff903644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007ff9035f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007ff9035f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007ff9035f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007ff9036948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055c8f89f7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055c8f89fb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055c8f89fd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055c8f89f1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007ff8fa23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007ff8fa23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055c8f89f1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.script: line 3: 552722 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NoReturn.m (448 of 19712) ******************** TEST 'Clang :: Analysis/NoReturn.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f9bfbdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9bfbdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9bfbdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9bfae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9c044ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9c044ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9c044ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9c044ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f9c044ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f9c044ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f9c0446f34b 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 #11 0x00007f9c0446f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f9c0446f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f9c0446f34b 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:50 #14 0x00007f9c0449db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f9c0449df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f9c0443f9ea 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 #17 0x00007f9c0443fb9e 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:223:0 #18 0x00007f9c0445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f9c0445109a clang::ento::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 0x00007f9c0474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f9c0474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f9c0474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f9c0474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f9c0474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f9c0474e0a7 llvm::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 0x00007f9c0474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f9c0474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f9c04751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f9c04751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f9c04751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f9c04751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f9c04751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f9c02b0724a __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 0x00007f9c02b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f9c02b0724a void clang::finalize>, 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 0x00007f9c02b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f9c04244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f9c041f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f9c041f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f9c041f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f9c042948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000557df3967a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000557df396b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000557df396d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000557df3961903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f9bfae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f9bfae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000557df3961945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NoReturn.m.script: line 1: 552867 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/PR60412.cpp (449 of 19712) ******************** TEST 'Clang :: Analysis/PR60412.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7bcafd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7bcafceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7bcafd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7bca054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7bd366efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7bd366efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7bd366efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7bd366efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7bd366efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7bd366efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7bd366efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f7bd366efd6 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 0x00007f7bd369db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f7bd369df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f7bd363f9ea 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 #15 0x00007f7bd363fb9e 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:223:0 #16 0x00007f7bd365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f7bd365109a clang::ento::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 0x00007f7bd394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f7bd394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f7bd394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f7bd394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f7bd394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f7bd394e0a7 llvm::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 0x00007f7bd394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f7bd394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f7bd3951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f7bd3951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f7bd3951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f7bd3951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f7bd3951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f7bd1d0724a __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 0x00007f7bd1d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f7bd1d0724a void clang::finalize>, 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 0x00007f7bd1d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f7bd3444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f7bd33f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f7bd33f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f7bd33f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f7bd34948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000558051484a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055805148870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055805148a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055805147e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f7bca03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f7bca03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055805147e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR60412.cpp.script: line 1: 552935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR49490.cpp (450 of 19712) ******************** TEST 'Clang :: Analysis/PR49490.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f01079d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f01079ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f01079d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0106a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f011006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f011006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f011006f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f011006f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f011006f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f011006f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f011006f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f011006f83e 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 0x00007f01100725b9 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 0x00007f01100725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f01100725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f01100725b9 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 #16 0x00007f01100727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f01100727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f01100727ab 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 #19 0x00007f0110099d0e 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 #20 0x00007f011009c69e 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 #21 0x00007f011009c69e clang::ento::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 #22 0x00007f011009dc4e clang::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 0x00007f011009df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f011003fac2 clang::ento::CoreEngine::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 0x00007f011005109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f011005109a clang::ento::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 0x00007f011034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f011034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f011034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f011034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f011034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f011034e0a7 llvm::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 0x00007f011034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f011034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f0110351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f0110351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f0110351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f0110351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f0110351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f010e70724a __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 0x00007f010e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f010e70724a void clang::finalize>, 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 0x00007f010e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f010fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f010fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f010fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f010fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f010fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x00005598ba8f9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x00005598ba8fd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x00005598ba8ff440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x00005598ba8f3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f0106a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f0106a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x00005598ba8f3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49490.cpp.script: line 1: 552918 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/analyzer-stats.c (451 of 19712) ******************** TEST 'Clang :: Analysis/analyzer-stats.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f61a2dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f61a2dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f61a2dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f61a1e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f61ab835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f61ab835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f61ab835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f61ab835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f61ab835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f61ab835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f61ab835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f61ab835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f61ab4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f61ab4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f61ab4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f61ab4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f61ab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f61ab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f61ab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f61ab4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f61ab4d4e65 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 #21 0x00007f61ab4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f61ab4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f61ab4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f61ab4d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f61ab4d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f61ab4d6cdb 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 #27 0x00007f61ab4d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f61ab4d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f61ab4d64ad 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 #30 0x00007f61ab4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f61ab4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f61ab4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f61ab4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f61ab4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f61ab4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f61ab4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f61ab4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f61ab4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f61ab43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f61ab43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f61ab43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f61ab43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f61ab986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f61ab986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f61ab986b68 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 #46 0x00007f61ab46bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f61ab46bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f61ab46bf90 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 #49 0x00007f61ab46bf90 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 #50 0x00007f61ab46bf90 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 #51 0x00007f61ab46bf90 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 #52 0x00007f61ab46bf90 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 #53 0x00007f61ab46bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f61ab46bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f61ab46bf90 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 #56 0x00007f61ab43f21a 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:0 #57 0x00007f61ab45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f61ab45109a clang::ento::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 0x00007f61ab74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f61ab74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f61ab74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f61ab74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f61ab74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f61ab74e0a7 llvm::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 0x00007f61ab74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f61ab74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f61ab751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f61ab751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f61ab751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f61ab751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f61ab751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f61a9b0724a __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 0x00007f61a9b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f61a9b0724a void clang::finalize>, 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 0x00007f61a9b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f61ab244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f61ab1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f61ab1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f61ab1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f61ab2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056412d4eda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056412d4f170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056412d4f3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056412d4e7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f61a1e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f61a1e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056412d4e7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzer-stats.c.script: line 1: 553089 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR46264.cpp (452 of 19712) ******************** TEST 'Clang :: Analysis/PR46264.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007fa26b3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa26b3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa26b3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa26a454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa273e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa273e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa273e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa273e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa273e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa273e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa273e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa273e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa273ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa273ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa273ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa273ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa273ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa273ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa273ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa273ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa273ad4e65 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 #21 0x00007fa273ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa273ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa273ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa273ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa273ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa273ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa273ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa273ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa273ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa273ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa273ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa273ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa273ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa273ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa273ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa273ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa273ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa273ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa273a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa273a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa273a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa273a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa273a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa273a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa273a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa273a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa273a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa273a0953e 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 #49 0x00007fa273a50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa273a50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa273a50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fa273a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa273a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa273a5149e 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 #55 0x00007fa273d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa273d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa273d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa273d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa273d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa273d4e0a7 llvm::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 0x00007fa273d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa273d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa273d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa273d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa273d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa273d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa273d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa27210724a __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 0x00007fa27210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa27210724a void clang::finalize>, 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 0x00007fa27210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa273844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa2737f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa2737f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa2737f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa2738948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055f9cbfe2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055f9cbfe670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055f9cbfe8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055f9cbfdc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa26a43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa26a43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055f9cbfdc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR46264.cpp.script: line 1: 552908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/ObjCRetSigs.m (453 of 19712) ******************** TEST 'Clang :: Analysis/ObjCRetSigs.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f89f25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f89f25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f89f25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f89f1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f89fb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f89fb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f89fb035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f89fb035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f89fb035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f89fb035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f89fb035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f89fb035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f89facd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f89facd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f89facd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f89facd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f89facd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f89facd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f89facd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f89facd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f89facd4e65 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 #21 0x00007f89facd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f89facd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f89facd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f89facb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f89facb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f89facb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f89facd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f89facd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f89facd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f89face8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f89face8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f89face8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f89face8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f89face8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f89face8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f89face9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f89face9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f89face9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f89fac3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f89fac3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f89fac3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f89fac3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f89fac3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f89fac3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f89fac3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f89fac0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f89fac0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f89fac0953e 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 #49 0x00007f89fac50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f89fac50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f89fac50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f89fac5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f89fac5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f89fac5149e 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 #55 0x00007f89faf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f89faf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f89faf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f89faf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f89faf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f89faf4e0a7 llvm::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 0x00007f89faf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f89faf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f89faf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f89faf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f89faf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f89faf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f89faf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f89f930724a __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 0x00007f89f930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f89f930724a void clang::finalize>, 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 0x00007f89f930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f89faa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f89fa9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f89fa9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f89fa9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f89faa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000557b9b0d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000557b9b0d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000557b9b0d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000557b9b0ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f89f163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f89f163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000557b9b0ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCRetSigs.m.script: line 1: 552875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/NewDeleteLeaks.cpp (454 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fcc4d5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcc4d5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcc4d5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcc4c654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcc56035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fcc56035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fcc56035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fcc56035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fcc56035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fcc56035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fcc56035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fcc56035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fcc55cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fcc55cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fcc55cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fcc55cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fcc55cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fcc55cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fcc55cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fcc55cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fcc55cd4e65 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 #21 0x00007fcc55cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fcc55cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fcc55cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fcc55cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fcc55cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fcc55cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fcc55cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fcc55cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fcc55cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fcc55ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fcc55ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fcc55ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fcc55ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fcc55ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fcc55ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fcc55ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fcc55ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fcc55ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fcc55c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fcc55c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fcc55c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fcc55c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fcc55c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fcc55c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fcc55c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fcc55c97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fcc55c97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fcc55c97620 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 #49 0x00007fcc55c97620 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 #50 0x00007fcc55c977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fcc55c977b2 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 0x00007fcc55c9dfaf clang::ento::ExprEngine::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 0x00007fcc55c3f9ea 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 0x00007fcc55c3fb9e 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:223:0 #55 0x00007fcc55c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fcc55c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fcc55f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fcc55f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fcc55f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fcc55f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fcc55f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fcc55f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fcc55f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fcc55f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fcc55f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fcc55f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fcc55f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fcc55f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fcc55f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fcc5430724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fcc5430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fcc5430724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fcc5430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fcc55a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fcc559f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fcc559f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fcc559f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fcc55a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055f625d24a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055f625d2870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055f625d2a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055f625d1e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fcc4c63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fcc4c63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055f625d1e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks.cpp.script: line 2: 552866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ObjCProperties.m (455 of 19712) ******************** TEST 'Clang :: Analysis/ObjCProperties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f900d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f900d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f900d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f900c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9016235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9016235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9016235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9016235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9016235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9016235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9016235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9016235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9015ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9015ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9015ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9015ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9015ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9015ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9015ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9015ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9015ed4e65 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 #21 0x00007f9015ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9015ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9015ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9015eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9015eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9015eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9015ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9015ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9015ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9015ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9015ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9015ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9015ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9015ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9015ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9015ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9015ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9015ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9015e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9015e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9015e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9015e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9015e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f9015e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f9015e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f9015e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f9015e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f9015e0953e 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 #49 0x00007f9015e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f9015e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f9015e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f9015e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f9015e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f9015e5149e 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 #55 0x00007f901614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f901614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f901614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f901614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f901614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f901614e0a7 llvm::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 0x00007f901614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f901614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f9016151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f9016151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f9016151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f9016151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f9016151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f901450724a __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 0x00007f901450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f901450724a void clang::finalize>, 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 0x00007f901450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f9015c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f9015bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f9015bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f9015bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f9015c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000556a7ace9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000556a7aced70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000556a7acef440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000556a7ace3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f900c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f900c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000556a7ace3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCProperties.m.script: line 1: 552871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR50268.c (456 of 19712) ******************** TEST 'Clang :: Analysis/PR50268.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd03add0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd03adceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd03add1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd039e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd0434ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd0434ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd0434ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd0434ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fd0434ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fd0434ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fd04346f34b 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 #11 0x00007fd04346f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fd04346f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fd04346f34b 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:50 #14 0x00007fd04349db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fd04349df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fd04343f9ea 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 #17 0x00007fd04343fb9e 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:223:0 #18 0x00007fd04345109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fd04345109a clang::ento::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 0x00007fd04374c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fd04374c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fd04374c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fd04374c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fd04374c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fd04374e0a7 llvm::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 0x00007fd04374e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fd04374e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fd043751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fd043751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fd043751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fd043751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fd043751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fd041b0724a __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 0x00007fd041b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fd041b0724a void clang::finalize>, 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 0x00007fd041b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fd043244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fd0431f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fd0431f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fd0431f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fd0432948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055c408d1fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055c408d2370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055c408d25440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055c408d19903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fd039e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fd039e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055c408d19945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR50268.c.script: line 1: 552920 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR2978.m (457 of 19712) ******************** TEST 'Clang :: Analysis/PR2978.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fac5b7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fac5b7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fac5b7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fac5a854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fac64235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fac64235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fac64235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fac64235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fac64235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fac64235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fac64235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fac64235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fac63ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fac63ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fac63ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fac63ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fac63ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fac63ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fac63ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fac63ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fac63ed4e65 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 #21 0x00007fac63ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fac63ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fac63ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fac63eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fac63eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fac63eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fac63ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fac63ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fac63ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fac63ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fac63ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fac63ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fac63ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fac63ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fac63ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fac63ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fac63ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fac63ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fac63e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fac63e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fac63e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fac63e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fac63e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fac63e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fac63e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fac63e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fac63e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fac63e0953e 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 #49 0x00007fac63e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fac63e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fac63e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fac63e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fac63e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fac63e5149e 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 #55 0x00007fac6414c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fac6414c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fac6414c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fac6414c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fac6414c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fac6414e0a7 llvm::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 0x00007fac6414e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fac6414e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fac64151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fac64151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fac64151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fac64151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fac64151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fac6250724a __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 0x00007fac6250724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fac6250724a void clang::finalize>, 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 0x00007fac6250724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fac63c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fac63bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fac63bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fac63bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fac63c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055947429ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005594742a270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005594742a4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000559474298903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fac5a83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fac5a83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000559474298945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR2978.m.script: line 1: 552880 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR47511.cpp (458 of 19712) ******************** TEST 'Clang :: Analysis/PR47511.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f32bfdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f32bfdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f32bfdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f32bee54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f32c8835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f32c8835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f32c8835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f32c8835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f32c8835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f32c8835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f32c8835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f32c8835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f32c84d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f32c84d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f32c84d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f32c84d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f32c84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f32c84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f32c84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f32c84d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f32c84d4e65 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 #21 0x00007f32c84d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f32c84d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f32c84d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f32c84b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f32c84b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f32c84b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f32c84d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f32c84d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f32c84d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f32c84e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f32c84e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f32c84e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f32c84e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f32c84e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f32c84e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f32c84e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f32c84e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f32c84e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f32c843da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f32c843da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f32c843da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f32c843da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f32c843df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f32c843df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f32c843df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f32c840953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f32c840953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f32c840953e 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 #49 0x00007f32c8450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f32c8450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f32c8450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f32c845149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f32c845149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f32c845149e 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 #55 0x00007f32c874c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f32c874c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f32c874c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f32c874c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f32c874c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f32c874e0a7 llvm::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 0x00007f32c874e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f32c874e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f32c8751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f32c8751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f32c8751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f32c8751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f32c8751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f32c6b0724a __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 0x00007f32c6b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f32c6b0724a void clang::finalize>, 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 0x00007f32c6b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f32c8244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f32c81f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f32c81f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f32c81f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f32c82948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055c346bc3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055c346bc770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055c346bc9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055c346bbd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f32bee3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f32bee3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055c346bbd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR47511.cpp.script: line 1: 552917 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR3991.m (459 of 19712) ******************** TEST 'Clang :: Analysis/PR3991.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb9adfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb9adfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb9adfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb9ad054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb9b6a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb9b6a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb9b6a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb9b6a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb9b6a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb9b6a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb9b6a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb9b6a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb9b66d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb9b66d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb9b66d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb9b66d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb9b66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb9b66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb9b66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb9b66d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb9b66d4e65 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 #21 0x00007fb9b66d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb9b66d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb9b66d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb9b66b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb9b66b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb9b66b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb9b66d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb9b66d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb9b66d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb9b66e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb9b66e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb9b66e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb9b66e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb9b66e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb9b66e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb9b66e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb9b66e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb9b66e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb9b663da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb9b663da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb9b663da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb9b663da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb9b663df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fb9b663df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fb9b663df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fb9b660953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fb9b660953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fb9b660953e 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 #49 0x00007fb9b6650eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fb9b6650eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fb9b6650eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fb9b665149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fb9b665149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fb9b665149e 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 #55 0x00007fb9b694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fb9b694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fb9b694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fb9b694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fb9b694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fb9b694e0a7 llvm::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 0x00007fb9b694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fb9b694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fb9b6951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fb9b6951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fb9b6951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fb9b6951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fb9b6951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fb9b4d0724a __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 0x00007fb9b4d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fb9b4d0724a void clang::finalize>, 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 0x00007fb9b4d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fb9b6444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fb9b63f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fb9b63f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fb9b63f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fb9b64948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000564ad8ac9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000564ad8acd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000564ad8acf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000564ad8ac3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fb9ad03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fb9ad03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000564ad8ac3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR3991.m.script: line 1: 552903 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/OSAtomic_mac.cpp (460 of 19712) ******************** TEST 'Clang :: Analysis/OSAtomic_mac.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb7787d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb7787ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb7787d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb777854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb780ed44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb780ed44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb780ed44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb780ed44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb780ed44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb780ed44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb780ed44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fb780ed44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007fb780ed44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007fb780ed44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007fb780ed44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007fb780ed44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007fb780ed44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007fb780ed44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007fb780ed44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007fb780ed44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007fb780ed44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007fb780ed44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007fb780ed4c2b 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 #23 0x00007fb780ed4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007fb780ed4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007fb780ed4c2b (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:31 #26 0x00007fb780ed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007fb780ed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007fb780ed6cdb 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 0x00007fb780ee8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fb780ee8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fb780ee8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #32 0x00007fb780ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x00007fb780ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x00007fb780ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x00007fb780ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x00007fb780ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x00007fb780ee9060 clang::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 0x00007fb780e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007fb780e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007fb780e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x00007fb780e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #42 0x00007fb781386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x00007fb781386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x00007fb781386b68 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 0x00007fb780e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x00007fb780e69db3 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 0x00007fb780e69db3 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 0x00007fb780e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x00007fb780e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x00007fb780e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x00007fb780e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x00007fb780e9d93e clang::ento::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 0x00007fb780e9dc4e clang::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 0x00007fb780e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb780e3fac2 clang::ento::CoreEngine::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 0x00007fb780e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x00007fb780e5109a clang::ento::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 0x00007fb78114c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007fb78114c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007fb78114c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x00007fb78114c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x00007fb78114c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x00007fb78114e0a7 llvm::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 0x00007fb78114e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x00007fb78114e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x00007fb781151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x00007fb781151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x00007fb781151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x00007fb781151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x00007fb781151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x00007fb77f50724a __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 0x00007fb77f50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x00007fb77f50724a void clang::finalize>, 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 0x00007fb77f50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x00007fb780c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x00007fb780bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x00007fb780bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x00007fb780bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x00007fb780c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x0000556de4b18a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000556de4b1c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000556de4b1e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000556de4b12903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x00007fb77783ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #85 0x00007fb77783f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #86 0x0000556de4b12945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/OSAtomic_mac.cpp.script: line 1: 552869 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR35418.cpp (461 of 19712) ******************** TEST 'Clang :: Analysis/PR35418.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007fcdb4bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcdb4bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcdb4bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcdb3c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcdbd635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fcdbd635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fcdbd635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fcdbd635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fcdbd635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fcdbd635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fcdbd635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fcdbd635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fcdbd2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fcdbd2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fcdbd2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fcdbd2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fcdbd2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fcdbd2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fcdbd2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fcdbd2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fcdbd2d4932 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 #21 0x00007fcdbd2d4932 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fcdbd2d4932 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fcdbd2d4932 (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:31 #24 0x00007fcdbd2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fcdbd2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fcdbd2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fcdbd2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fcdbd2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fcdbd2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fcdbd2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fcdbd2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fcdbd2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fcdbd2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fcdbd2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fcdbd2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fcdbd2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fcdbd2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fcdbd2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fcdbd23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fcdbd23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fcdbd23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fcdbd23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fcdbd786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fcdbd786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fcdbd786b68 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 #46 0x00007fcdbd269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fcdbd269db3 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 #48 0x00007fcdbd269db3 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 #49 0x00007fcdbd29d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fcdbd29d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fcdbd29d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fcdbd29d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fcdbd29d93e clang::ento::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 #54 0x00007fcdbd29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fcdbd29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fcdbd23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fcdbd25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fcdbd25109a clang::ento::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 0x00007fcdbd54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fcdbd54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fcdbd54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fcdbd54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fcdbd54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fcdbd54e0a7 llvm::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 0x00007fcdbd54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fcdbd54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fcdbd551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fcdbd551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fcdbd551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fcdbd551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fcdbd551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fcdbb90724a __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 0x00007fcdbb90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fcdbb90724a void clang::finalize>, 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 0x00007fcdbb90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fcdbd044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fcdbcff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fcdbcff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fcdbcff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fcdbd0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e9ec25ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e9ec25f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e9ec261440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e9ec255903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fcdb3c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fcdb3c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e9ec255945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR35418.cpp.script: line 1: 552885 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/SpecialFunctionsCFError.cpp (464 of 19712) ******************** TEST 'Clang :: Analysis/SpecialFunctionsCFError.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbaee7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbaee7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbaee7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbaed854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbaf7235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbaf7235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbaf7235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbaf7235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbaf7235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbaf7235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbaf7235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbaf7235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbaf6ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbaf6ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbaf6ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbaf6ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbaf6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbaf6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbaf6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbaf6ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbaf6ed4e65 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 #21 0x00007fbaf6ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbaf6ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbaf6ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fbaf6eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbaf6eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbaf6eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fbaf6ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbaf6ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbaf6ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fbaf6ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbaf6ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbaf6ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbaf6ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbaf6ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbaf6ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbaf6ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbaf6ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbaf6ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbaf6e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbaf6e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbaf6e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbaf6e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbaf6e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fbaf6e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fbaf6e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fbaf6e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fbaf6e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fbaf6e0953e 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 #49 0x00007fbaf6e50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fbaf6e50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fbaf6e50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fbaf6e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fbaf6e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fbaf6e5149e 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 #55 0x00007fbaf714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fbaf714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fbaf714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fbaf714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fbaf714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fbaf714e0a7 llvm::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 0x00007fbaf714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fbaf714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fbaf7151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fbaf7151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fbaf7151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fbaf7151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fbaf7151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fbaf550724a __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 0x00007fbaf550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fbaf550724a void clang::finalize>, 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 0x00007fbaf550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fbaf6c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fbaf6bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fbaf6bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fbaf6bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fbaf6c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005602ad085a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005602ad08970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005602ad08b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005602ad07f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fbaed83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fbaed83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005602ad07f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/SpecialFunctionsCFError.cpp.script: line 1: 552950 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR49642.c (465 of 19712) ******************** TEST 'Clang :: Analysis/PR49642.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fabe7bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fabe7bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fabe7bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fabe6c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fabf0635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fabf0635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fabf0635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fabf0635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fabf0635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fabf0635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fabf0635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fabf0635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fabf02d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fabf02d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fabf02d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fabf02d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fabf02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fabf02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fabf02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fabf02d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fabf02d4932 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 #21 0x00007fabf02d4932 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fabf02d4932 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fabf02d4932 (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:31 #24 0x00007fabf02b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fabf02b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fabf02b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fabf02d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fabf02d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fabf02d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fabf02e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fabf02e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fabf02e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fabf02e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fabf02e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fabf02e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fabf02e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fabf02e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fabf02e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fabf023da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fabf023da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fabf023da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fabf023da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fabf0786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fabf0786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fabf0786b68 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 #46 0x00007fabf0269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fabf0269db3 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 #48 0x00007fabf0269db3 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 #49 0x00007fabf029d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fabf029d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fabf029d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fabf029d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fabf029d93e clang::ento::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 #54 0x00007fabf029dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fabf029df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fabf023fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fabf025109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fabf025109a clang::ento::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 0x00007fabf054c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fabf054c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fabf054c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fabf054c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fabf054c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fabf054e0a7 llvm::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 0x00007fabf054e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fabf054e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fabf0551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fabf0551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fabf0551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fabf0551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fabf0551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fabee90724a __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 0x00007fabee90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fabee90724a void clang::finalize>, 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 0x00007fabee90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fabf0044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fabefff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fabefff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fabefff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fabf00948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561c32c6aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561c32c6e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561c32c70440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561c32c64903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fabe6c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fabe6c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561c32c64945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49642.c.script: line 1: 552919 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/PR24184.cpp (468 of 19712) ******************** TEST 'Clang :: Analysis/PR24184.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0036dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0036dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0036dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0035e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f003f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f003f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f003f835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f003f835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f003f835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f003f835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f003f835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f003f835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f003f4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f003f4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f003f4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f003f4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f003f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f003f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f003f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f003f4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f003f4d4e65 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 #21 0x00007f003f4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f003f4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f003f4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f003f4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f003f4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f003f4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f003f4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f003f4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f003f4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f003f4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f003f4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f003f4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f003f4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f003f4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f003f4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f003f4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f003f4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f003f4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f003f43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f003f43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f003f43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f003f43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f003f986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f003f986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f003f986b68 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 #46 0x00007f003f57f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f003f57f794 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:0 #48 0x00007f003f57f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f003f57f794 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:0 #50 0x00007f003f41b7ad 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:5 #51 0x00007f003f468471 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 #52 0x00007f003f468471 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 #53 0x00007f003f469840 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 #54 0x00007f003f469840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f003f469840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f003f469840 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 #57 0x00007f003f477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f003f477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f003f477a6a 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:15 #60 0x00007f003f49bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f003f49bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f003f49bf62 clang::ento::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 #63 0x00007f003f49dc4e clang::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 0x00007f003f49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f003f43fac2 clang::ento::CoreEngine::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 0x00007f003f45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f003f45109a clang::ento::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 0x00007f003f74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f003f74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f003f74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f003f74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f003f74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f003f74e0a7 llvm::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 0x00007f003f74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f003f74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f003f751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f003f751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f003f751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f003f751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f003f751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f003db0724a __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 0x00007f003db0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f003db0724a void clang::finalize>, 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 0x00007f003db0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f003f244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f003f1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f003f1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f003f1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f003f2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055d8d25d9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055d8d25dd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055d8d25df440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055d8d25d3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f0035e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f0035e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055d8d25d3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR24184.cpp.script: line 2: 552879 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/analysis-after-multiple-dtors.cpp (469 of 19712) ******************** TEST 'Clang :: Analysis/analysis-after-multiple-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007feb4cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007feb4cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007feb4cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007feb4be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007feb5546efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007feb5546efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007feb5546efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007feb5546efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007feb5546efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007feb5546efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007feb5546efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007feb5546efd6 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 0x00007feb5549db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007feb5549df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007feb5543f9ea 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 #15 0x00007feb5543fb9e 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:223:0 #16 0x00007feb5545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007feb5545109a clang::ento::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 0x00007feb5574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007feb5574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007feb5574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007feb5574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007feb5574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007feb5574e0a7 llvm::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 0x00007feb5574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007feb5574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007feb55751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007feb55751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007feb55751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007feb55751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007feb55751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007feb53b0724a __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 0x00007feb53b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007feb53b0724a void clang::finalize>, 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 0x00007feb53b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007feb55244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007feb551f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007feb551f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007feb551f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007feb552948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000556b19723a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000556b1972770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000556b19729440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000556b1971d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007feb4be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007feb4be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000556b1971d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/analysis-after-multiple-dtors.cpp.script: line 1: 553019 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/a_flaky_crash.cpp (470 of 19712) ******************** TEST 'Clang :: Analysis/a_flaky_crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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 0x00007fee5a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fee5a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fee5a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fee59a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fee63072b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fee63072b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fee63072b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fee63072b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fee63072b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fee63072b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fee63072b29 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:89 #11 0x00007fee63072e8c 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 #12 0x00007fee63072e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fee63072e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fee63072e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fee63072e8c 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:53 #16 0x00007fee630732e6 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 #17 0x00007fee630732e6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #18 0x00007fee630732e6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007fee630732e6 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:68 #20 0x00007fee6309a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x00007fee6309a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x00007fee6309a404 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 0x00007fee6309a404 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 0x00007fee6309c69e 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 0x00007fee6309c69e clang::ento::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 0x00007fee6309dc4e clang::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 0x00007fee6309df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fee6303fac2 clang::ento::CoreEngine::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 0x00007fee6305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007fee6305109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007fee6334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fee6334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fee6334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007fee6334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007fee6334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007fee6334e0a7 llvm::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 0x00007fee6334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007fee6334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007fee63351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007fee63351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007fee63351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007fee63351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007fee63351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007fee6170724a __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 0x00007fee6170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007fee6170724a void clang::finalize>, 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 0x00007fee6170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007fee62e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007fee62df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007fee62df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007fee62df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007fee62e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x00005608d741fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x00005608d742370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x00005608d7425440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x00005608d7419903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007fee59a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007fee59a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x00005608d7419945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/a_flaky_crash.cpp.script: line 256: 553095 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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 (471 of 19712) ******************** TEST 'Clang :: Analysis/additive-folding-range-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1d40dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1d40dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1d40dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1d3fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1d494ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1d494ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1d494ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1d494ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f1d494ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f1d494ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f1d4946f34b 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 #11 0x00007f1d4946f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f1d4946f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f1d4946f34b 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:50 #14 0x00007f1d4949db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f1d4949df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f1d4943f9ea 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 #17 0x00007f1d4943fb9e 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:223:0 #18 0x00007f1d4945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f1d4945109a clang::ento::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 0x00007f1d4974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f1d4974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f1d4974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f1d4974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f1d4974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f1d4974e0a7 llvm::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 0x00007f1d4974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f1d4974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f1d49751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f1d49751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f1d49751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f1d49751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f1d49751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f1d47b0724a __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 0x00007f1d47b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f1d47b0724a void clang::finalize>, 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 0x00007f1d47b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f1d49244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f1d491f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f1d491f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f1d491f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f1d492948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055b6b3540a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055b6b354470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055b6b3546440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055b6b353a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f1d3fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f1d3fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055b6b353a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding-range-constraints.c.script: line 1: 553004 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (475 of 19712) ******************** TEST 'Clang :: Analysis/additive-folding.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4870dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4870dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4870dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f486fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4879835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4879835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4879835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4879835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4879835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4879835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4879835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4879835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f48794d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f48794d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f48794d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f48794d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f48794d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f48794d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f48794d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f48794d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f48794d4e65 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 #21 0x00007f48794d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f48794d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f48794d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f48794b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f48794b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f48794b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f48794d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f48794d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f48794d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f48794e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f48794e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f48794e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f48794e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f48794e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f48794e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f48794e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f48794e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f48794e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f487943da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f487943da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f487943da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f487943da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4879986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4879986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4879986b68 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 #46 0x00007f487946bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f487946bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f487946bf90 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 #49 0x00007f487946bf90 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 #50 0x00007f487946bf90 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 #51 0x00007f487946bf90 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 #52 0x00007f487946bf90 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 #53 0x00007f487946bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f487946bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f487946bf90 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 #56 0x00007f487943f21a 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:0 #57 0x00007f487945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f487945109a clang::ento::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 0x00007f487974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f487974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f487974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f487974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f487974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f487974e0a7 llvm::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 0x00007f487974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f487974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4879751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4879751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4879751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4879751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4879751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4877b0724a __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 0x00007f4877b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4877b0724a void clang::finalize>, 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 0x00007f4877b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4879244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f48791f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f48791f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f48791f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f48792948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d4cc358a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d4cc35c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d4cc35e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d4cc352903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f486fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f486fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d4cc352945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding.cpp.script: line 1: 553007 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (476 of 19712) ******************** TEST 'Clang :: Analysis/UserNullabilityAnnotations.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb6dc9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb6dc9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb6dc9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb6dba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb6e5435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb6e5435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb6e5435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb6e5435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb6e5435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb6e5435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb6e5435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb6e5435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb6e50d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb6e50d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb6e50d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb6e50d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb6e50d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb6e50d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb6e50d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb6e50d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb6e50d4e65 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 #21 0x00007fb6e50d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb6e50d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb6e50d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb6e50b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb6e50b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb6e50b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb6e50d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb6e50d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb6e50d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb6e50e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb6e50e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb6e50e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb6e50e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb6e50e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb6e50e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb6e50e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb6e50e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb6e50e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb6e503da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb6e503da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb6e503da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb6e503da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb6e503df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fb6e503df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fb6e503df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fb6e524870e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x00007fb6e524870e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007fb6e524870e 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 #49 0x00007fb6e524870e checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:65 #50 0x00007fb6e524870e 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:51 #51 0x00007fb6e501ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #52 0x00007fb6e501ae16 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:26 #53 0x00007fb6e50513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #54 0x00007fb6e50513ec 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:0 #55 0x00007fb6e50513ec 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 #56 0x00007fb6e534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fb6e534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fb6e534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fb6e534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fb6e534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fb6e534e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fb6e534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fb6e534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fb6e5351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fb6e5351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fb6e5351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fb6e5351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fb6e5351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fb6e370724a __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 0x00007fb6e370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fb6e370724a void clang::finalize>, 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 0x00007fb6e370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fb6e4e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fb6e4df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fb6e4df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fb6e4df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fb6e4e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000559c6a84aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000559c6a84e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000559c6a850440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000559c6a844903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fb6dba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fb6dba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000559c6a844945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/UserNullabilityAnnotations.m.script: line 1: 552978 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/additive-op-on-sym-int-expr.c (478 of 19712) ******************** TEST 'Clang :: Analysis/additive-op-on-sym-int-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007efeeffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efeeffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efeeffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efeef054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efef8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007efef8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007efef8a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007efef8a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007efef8a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007efef8a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007efef8a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007efef8a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007efef86d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007efef86d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007efef86d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007efef86d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007efef86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007efef86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007efef86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007efef86d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007efef86d4e65 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 #21 0x00007efef86d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007efef86d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007efef86d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007efef86d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007efef86d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007efef86d6cdb 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 #27 0x00007efef86d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007efef86d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007efef86d64ad 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 #30 0x00007efef86e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007efef86e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007efef86e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007efef86e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007efef86e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007efef86e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007efef86e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007efef86e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007efef86e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007efef863da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007efef863da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007efef863da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007efef863da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007efef8b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007efef8b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007efef8b86b68 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 #46 0x00007efef866bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007efef866bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007efef866bf90 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 #49 0x00007efef866bf90 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 #50 0x00007efef866bf90 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 #51 0x00007efef866bf90 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 #52 0x00007efef866bf90 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 #53 0x00007efef866bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007efef866bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007efef866bf90 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 #56 0x00007efef863f21a 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:0 #57 0x00007efef865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007efef865109a clang::ento::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 0x00007efef894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007efef894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007efef894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007efef894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007efef894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007efef894e0a7 llvm::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 0x00007efef894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007efef894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007efef8951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007efef8951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007efef8951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007efef8951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007efef8951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007efef6d0724a __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 0x00007efef6d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007efef6d0724a void clang::finalize>, 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 0x00007efef6d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007efef8444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007efef83f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007efef83f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007efef83f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007efef84948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a1b2624a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a1b262870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a1b262a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a1b261e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007efeef03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007efeef03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a1b261e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-op-on-sym-int-expr.c.script: line 1: 553005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/array-punned-region.c (479 of 19712) ******************** TEST 'Clang :: Analysis/array-punned-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6800bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6800bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6800bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f67ffc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6809489dbe retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f6809489dbe retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f6809489dbe retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f6809489dbe IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f6809489dbe ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f6809489dbe Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f6809489dbe 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:89 #11 0x00007f6809491ba6 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 #12 0x00007f6809491ba6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f6809491ba6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f6809491ba6 set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f6809491ba6 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:34 #16 0x00007f6809491ba6 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:46 #17 0x00007f680921a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #18 0x00007f680921a9db 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:26 #19 0x00007f680929bf86 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 #20 0x00007f680929bf86 clang::ento::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 #21 0x00007f680929dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x00007f680929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f680923fac2 clang::ento::CoreEngine::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 0x00007f680925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x00007f680925109a clang::ento::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 0x00007f680954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f680954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f680954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x00007f680954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x00007f680954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x00007f680954e0a7 llvm::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 0x00007f680954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x00007f680954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x00007f6809551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x00007f6809551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x00007f6809551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x00007f6809551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x00007f6809551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x00007f680790724a __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 0x00007f680790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x00007f680790724a void clang::finalize>, 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 0x00007f680790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x00007f6809044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x00007f6808ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x00007f6808ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x00007f6808ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x00007f68090948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000056184c5bda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000056184c5c170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000056184c5c3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000056184c5b7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x00007f67ffc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #53 0x00007f67ffc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #54 0x000056184c5b7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-punned-region.c.script: line 2: 553103 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/analyzeOneFunction.m (480 of 19712) ******************** TEST 'Clang :: Analysis/analyzeOneFunction.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f55721d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f55721ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f55721d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5571254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f557ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f557ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f557ac35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f557ac35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f557ac35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f557ac35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f557ac35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f557ac35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f557a8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f557a8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f557a8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f557a8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f557a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f557a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f557a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f557a8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f557a8d4e65 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 #21 0x00007f557a8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f557a8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f557a8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f557a8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f557a8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f557a8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f557a8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f557a8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f557a8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f557a8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f557a8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f557a8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f557a8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f557a8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f557a8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f557a8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f557a8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f557a8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f557a83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f557a83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f557a83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f557a83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f557a83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f557a83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f557a83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f557a80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f557a80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f557a80953e 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 #49 0x00007f557a850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f557a850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f557a850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f557a85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f557a85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f557a85149e 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 #55 0x00007f557ab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f557ab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f557ab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f557ab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f557ab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f557ab4e0a7 llvm::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 0x00007f557ab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f557ab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f557ab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f557ab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f557ab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f557ab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f557ab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f5578f0724a __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 0x00007f5578f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f5578f0724a void clang::finalize>, 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 0x00007f5578f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f557a644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f557a5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f557a5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f557a5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f557a6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000563cf9849a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000563cf984d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000563cf984f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000563cf9843903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f557123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f557123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000563cf9843945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzeOneFunction.m.script: line 1: 553036 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/array-struct-region.c (481 of 19712) ******************** TEST 'Clang :: Analysis/array-struct-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f587b5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f587b5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f587b5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f587a654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5883e88de6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f5883e88de6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5883e88de6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5883e88de6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f5883e88de6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f5883e88de6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f5883e88de6 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f5883e88de6 getArrayRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:130:54 #12 0x00007f5883e88de6 (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:25 #13 0x00007f5883e8c244 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:313:27 #14 0x00007f5883e8c244 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:45 #15 0x00007f5883c1a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #16 0x00007f5883c1a9db 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:26 #17 0x00007f5883c6adf4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f5883c6adf4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f5883c6adf4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f5883c6adf4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f5883c6adf4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f5883c6adf4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f5883c6adf4 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 0x00007f5883c9cd7f 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 0x00007f5883c9cd7f clang::ento::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 0x00007f5883c9dc4e clang::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 0x00007f5883c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5883c3fac2 clang::ento::CoreEngine::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 0x00007f5883c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f5883c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f5883f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f5883f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f5883f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f5883f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f5883f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f5883f4e0a7 llvm::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 0x00007f5883f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f5883f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f5883f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f5883f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f5883f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f5883f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f5883f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f588230724a __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 0x00007f588230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f588230724a void clang::finalize>, 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 0x00007f588230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f5883a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f58839f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f58839f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f58839f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f5883a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x00005572bab7fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x00005572bab8370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x00005572bab85440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x00005572bab79903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f587a63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f587a63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x00005572bab79945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.c.script: line 1: 553123 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (482 of 19712) ******************** TEST 'Clang :: Analysis/array-bound-v2-constraint-check.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0f0e3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0f0e3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0f0e3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0f0d454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0f16ac6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f0f16ac6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f0f16ac6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f0f16ac6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f0f16ac6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f0f16ac6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f0f16ac6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f0f16ac6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f0f16ac6be6 (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 0x00007f0f16ac7048 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 #14 0x00007f0f16ac7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f0f16ac7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f0f16ac7048 (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 #17 0x00007f0f16aecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f0f16aecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f0f16aecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f0f16aecee7 (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 #21 0x00007f0f16aeca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007f0f16aeca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007f0f16aeca64 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 #24 0x00007f0f16f3bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007f0f16f3bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007f0f16f3bf33 (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 #27 0x00007f0f16ab4298 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 #28 0x00007f0f16ab4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007f0f16ab4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f0f16ab4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007f0f16ab4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007f0f16aea4ea llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #33 0x00007f0f16aea4ea llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #34 0x00007f0f16aea4ea llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f0f16aea4ea (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #36 0x00007f0f16b02462 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:22 #37 0x00007f0f16e31ffb llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #38 0x00007f0f16e31ffb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #39 0x00007f0f16e31ffb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007f0f16e31ffb (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 #41 0x00007f0f16a1b7ad 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:5 #42 0x00007f0f16a68471 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 #43 0x00007f0f16a68471 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 #44 0x00007f0f16a69840 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 #45 0x00007f0f16a69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #46 0x00007f0f16a69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x00007f0f16a69840 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 #48 0x00007f0f16a77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x00007f0f16a77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x00007f0f16a77a6a 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:15 #51 0x00007f0f16a9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #52 0x00007f0f16a9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #53 0x00007f0f16a9bf62 clang::ento::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 #54 0x00007f0f16a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f0f16a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f0f16a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f0f16a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f0f16a5109a clang::ento::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 0x00007f0f16d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f0f16d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f0f16d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f0f16d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f0f16d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f0f16d4e0a7 llvm::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 0x00007f0f16d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f0f16d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f0f16d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f0f16d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f0f16d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f0f16d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f0f16d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f0f1510724a __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 0x00007f0f1510724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f0f1510724a void clang::finalize>, 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 0x00007f0f1510724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f0f16844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f0f167f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f0f167f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f0f167f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f0f168948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055ccf6c13a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055ccf6c1770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055ccf6c19440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055ccf6c0d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f0f0d43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f0f0d43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055ccf6c0d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-bound-v2-constraint-check.c.script: line 1: 553097 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (483 of 19712) ******************** TEST 'Clang :: Analysis/array-init-loop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1871dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1871dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1871dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1870e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f187a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f187a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f187a835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f187a835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f187a835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f187a835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f187a835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f187a835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f187a4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f187a4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f187a4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f187a4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f187a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f187a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f187a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f187a4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f187a4d4e65 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 #21 0x00007f187a4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f187a4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f187a4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f187a4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f187a4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f187a4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f187a4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f187a4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f187a4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f187a4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f187a4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f187a4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f187a4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f187a4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f187a4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f187a4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f187a4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f187a4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f187a43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f187a43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f187a43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f187a43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f187a43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f187a43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f187a43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f187a40953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f187a40953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f187a40953e 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 #49 0x00007f187a450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f187a450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f187a450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f187a45149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f187a45149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f187a45149e 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 #55 0x00007f187a74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f187a74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f187a74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f187a74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f187a74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f187a74e0a7 llvm::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 0x00007f187a74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f187a74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f187a751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f187a751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f187a751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f187a751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f187a751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f1878b0724a __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 0x00007f1878b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f1878b0724a void clang::finalize>, 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 0x00007f1878b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f187a244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f187a1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f187a1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f187a1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f187a2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055d74323ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055d74323f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055d743241440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055d743235903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f1870e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f1870e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055d743235945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-init-loop.cpp.script: line 1: 553104 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (484 of 19712) ******************** TEST 'Clang :: Analysis/array-struct-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5e833d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5e833ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5e833d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5e82454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5e8be35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5e8be35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5e8be35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5e8be35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5e8be35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5e8be35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5e8be35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5e8be35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5e8bad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5e8bad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5e8bad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5e8bad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5e8bad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5e8bad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5e8bad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5e8bad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5e8bad4e65 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 #21 0x00007f5e8bad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5e8bad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5e8bad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5e8bab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5e8bab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5e8bab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5e8bad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5e8bad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5e8bad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5e8bae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5e8bae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5e8bae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5e8bae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5e8bae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5e8bae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5e8bae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5e8bae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5e8bae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5e8ba3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5e8ba3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5e8ba3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5e8ba3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5e8bf86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5e8bf86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5e8bf86b68 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 #46 0x00007f5e8ba69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f5e8ba69db3 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 #48 0x00007f5e8ba69db3 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 #49 0x00007f5e8ba9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f5e8ba9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f5e8ba9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f5e8ba9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f5e8ba9d93e clang::ento::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 #54 0x00007f5e8ba9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f5e8ba9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f5e8ba3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f5e8ba5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f5e8ba5109a clang::ento::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 0x00007f5e8bd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f5e8bd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f5e8bd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f5e8bd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f5e8bd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f5e8bd4e0a7 llvm::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 0x00007f5e8bd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f5e8bd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5e8bd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5e8bd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5e8bd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5e8bd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5e8bd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f5e8a10724a __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 0x00007f5e8a10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f5e8a10724a void clang::finalize>, 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 0x00007f5e8a10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5e8b844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f5e8b7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f5e8b7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f5e8b7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f5e8b8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000557c277a9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000557c277ad70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000557c277af440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000557c277a3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f5e8243ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f5e8243f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000557c277a3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.cpp.script: line 6: 553130 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/atomics.c (485 of 19712) ******************** TEST 'Clang :: Analysis/atomics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa3a15d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa3a15ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa3a15d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa3a0654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa3a9cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa3a9cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa3a9cce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa3a9cce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fa3a9cce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fa3a9cce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fa3a9c6f34b 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 #11 0x00007fa3a9c6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fa3a9c6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fa3a9c6f34b 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:50 #14 0x00007fa3a9c7d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007fa3a9c7d731 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:0 #16 0x00007fa3a9c7ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007fa3a9c7ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007fa3a9c7ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007fa3a9c7ddf2 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 #20 0x00007fa3a9c3ed11 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 0x00007fa3a9c3fc1e 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 0x00007fa3a9c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007fa3a9c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007fa3a9f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007fa3a9f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007fa3a9f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007fa3a9f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007fa3a9f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007fa3a9f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007fa3a9f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007fa3a9f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007fa3a9f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007fa3a9f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007fa3a9f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007fa3a9f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007fa3a9f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007fa3a830724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007fa3a830724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007fa3a830724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007fa3a830724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007fa3a9a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007fa3a99f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007fa3a99f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007fa3a99f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007fa3a9a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000056098bb58a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000056098bb5c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000056098bb5e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000056098bb52903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007fa3a063ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007fa3a063f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x000056098bb52945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/atomics.c.script: line 1: 553157 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/assume-controlled-environment.c (488 of 19712) ******************** TEST 'Clang :: Analysis/assume-controlled-environment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb9315d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb9315ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb9315d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb930654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb93a029e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb93a029e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb93a029e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb93a029e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb93a029e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb93a029e48 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 0x00007fb93a029e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb93a029e48 (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 0x00007fb939c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007fb939c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb939c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007fb939c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007fb939c2561d 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:26 #17 0x00007fb939c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007fb939c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007fb939c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007fb939c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007fb939c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007fb939c7ecbc 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:0 #23 0x00007fb939c7f767 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:0 #24 0x00007fb939c9c6f1 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 0x00007fb939c9c6f1 clang::ento::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 0x00007fb939c9dc4e clang::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 0x00007fb939c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb939c3fac2 clang::ento::CoreEngine::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 0x00007fb939c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007fb939c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007fb939f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fb939f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fb939f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007fb939f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007fb939f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007fb939f4e0a7 llvm::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 0x00007fb939f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007fb939f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007fb939f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007fb939f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007fb939f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007fb939f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007fb939f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007fb93830724a __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 0x00007fb93830724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007fb93830724a void clang::finalize>, 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 0x00007fb93830724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007fb939a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007fb9399f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007fb9399f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007fb9399f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007fb939a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055fbfa8d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055fbfa8d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055fbfa8d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055fbfa8ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007fb93063ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007fb93063f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055fbfa8ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/assume-controlled-environment.c.script: line 2: 553152 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/array-struct.c (489 of 19712) ******************** TEST 'Clang :: Analysis/array-struct.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f38ba7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f38ba7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f38ba7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f38b9854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f38c3235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f38c3235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f38c3235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f38c3235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f38c3235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f38c3235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f38c3235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f38c3235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f38c2ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f38c2ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f38c2ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f38c2ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f38c2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f38c2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f38c2ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f38c2ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f38c2ed4e65 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 #21 0x00007f38c2ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f38c2ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f38c2ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f38c2eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f38c2eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f38c2eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f38c2ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f38c2ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f38c2ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f38c2ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f38c2ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f38c2ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f38c2ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f38c2ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f38c2ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f38c2ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f38c2ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f38c2ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f38c2e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f38c2e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f38c2e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f38c2e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f38c3386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f38c3386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f38c3386b68 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 #46 0x00007f38c2f7f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f38c2f7f794 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:0 #48 0x00007f38c2f7f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f38c2f7f794 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:0 #50 0x00007f38c2e1b7ad 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:5 #51 0x00007f38c2e68471 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 #52 0x00007f38c2e68471 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 #53 0x00007f38c2e6e9d7 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 #54 0x00007f38c2e6e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f38c2e6e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f38c2e6e9d7 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 #57 0x00007f38c2e762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f38c2e762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f38c2e762c7 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:51 #60 0x00007f38c2e9d82f 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 0x00007f38c2e9d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #62 0x00007f38c2e9dc4e clang::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 0x00007f38c2e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f38c2e3fac2 clang::ento::CoreEngine::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 0x00007f38c2e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f38c2e5109a clang::ento::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 0x00007f38c314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f38c314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f38c314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f38c314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f38c314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f38c314e0a7 llvm::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 0x00007f38c314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f38c314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f38c3151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f38c3151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f38c3151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f38c3151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f38c3151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f38c150724a __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 0x00007f38c150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f38c150724a void clang::finalize>, 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 0x00007f38c150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f38c2c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f38c2bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f38c2bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f38c2bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f38c2c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x0000559608159a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000055960815d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000055960815f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000559608153903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f38b983ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f38b983f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x0000559608153945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct.c.script: line 1: 553143 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/base-init.cpp (490 of 19712) ******************** TEST 'Clang :: Analysis/base-init.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f02553d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f02553ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f02553d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0254454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f025da6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f025da6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f025da6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f025da6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f025da6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f025da6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f025da6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f025da6efd6 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 0x00007f025da9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f025da9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f025da3f9ea 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 #15 0x00007f025da3fb9e 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:223:0 #16 0x00007f025da5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f025da5109a clang::ento::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 0x00007f025dd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f025dd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f025dd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f025dd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f025dd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f025dd4e0a7 llvm::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 0x00007f025dd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f025dd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f025dd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f025dd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f025dd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f025dd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f025dd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f025c10724a __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 0x00007f025c10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f025c10724a void clang::finalize>, 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 0x00007f025c10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f025d844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f025d7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f025d7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f025d7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f025d8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000564940356a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000056494035a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000056494035c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000564940350903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f025443ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f025443f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000564940350945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/base-init.cpp.script: line 1: 553216 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (491 of 19712) ******************** TEST 'Clang :: Analysis/autoreleasewritechecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2ccb9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2ccb9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2ccb9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2ccaa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2cd40454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2cd40454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2cd40454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2cd40454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2cd40454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2cd40454e6 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 0x00007f2cd40454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2cd40454e6 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:0 #12 0x00007f2cd44218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f2cd44218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f2cd44218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007f2cd44218a5 (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 0x00007f2cd401bfa7 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 0x00007f2cd406f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f2cd406f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f2cd406f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f2cd406f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f2cd406f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f2cd406f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f2cd406f23c 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 0x00007f2cd409db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007f2cd409df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007f2cd403fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007f2cd405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007f2cd405109a clang::ento::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 0x00007f2cd434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f2cd434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f2cd434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007f2cd434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007f2cd434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007f2cd434e0a7 llvm::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 0x00007f2cd434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007f2cd434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007f2cd4351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007f2cd4351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007f2cd4351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007f2cd4351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007f2cd4351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007f2cd270724a __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 0x00007f2cd270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007f2cd270724a void clang::finalize>, 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 0x00007f2cd270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007f2cd3e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007f2cd3df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007f2cd3df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007f2cd3df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007f2cd3e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x00005602d7d93a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x00005602d7d9770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x00005602d7d99440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x00005602d7d8d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007f2ccaa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007f2ccaa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x00005602d7d8d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/autoreleasewritechecker_test.m.script: line 2: 553209 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (492 of 19712) ******************** TEST 'Clang :: Analysis/bitwise-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4075dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4075dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4075dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4074e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f407e835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f407e835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f407e835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f407e835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f407e835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f407e835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f407e835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f407e835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f407e4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f407e4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f407e4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f407e4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f407e4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f407e4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f407e4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f407e4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f407e4d4e65 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 #21 0x00007f407e4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f407e4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f407e4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f407e4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f407e4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f407e4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f407e4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f407e4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f407e4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f407e4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f407e4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f407e4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f407e4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f407e4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f407e4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f407e4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f407e4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f407e4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f407e43da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f407e43da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f407e43da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f407e43da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f407e986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f407e986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f407e986b68 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 #46 0x00007f407e469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f407e469db3 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 #48 0x00007f407e469db3 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 #49 0x00007f407e49d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f407e49d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f407e49d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f407e49d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f407e49d93e clang::ento::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 #54 0x00007f407e49dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f407e49df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f407e43fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f407e45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f407e45109a clang::ento::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 0x00007f407e74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f407e74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f407e74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f407e74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f407e74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f407e74e0a7 llvm::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 0x00007f407e74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f407e74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f407e751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f407e751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f407e751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f407e751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f407e751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f407cb0724a __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 0x00007f407cb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f407cb0724a void clang::finalize>, 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 0x00007f407cb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f407e244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f407e1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f407e1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f407e1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f407e2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000558c1c461a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000558c1c46570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000558c1c467440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000558c1c45b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4074e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4074e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000558c1c45b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops.c.script: line 1: 553235 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/builtin-functions.cpp (493 of 19712) ******************** TEST 'Clang :: Analysis/builtin-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f07561d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f07561ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f07561d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0755254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f075ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f075ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f075ec35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f075ec35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f075ec35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f075ec35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f075ec35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f075ec35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f075e8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f075e8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f075e8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f075e8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f075e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f075e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f075e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f075e8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f075e8d4e65 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 #21 0x00007f075e8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f075e8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f075e8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f075e8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f075e8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f075e8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f075e8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f075e8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f075e8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f075e8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f075e8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f075e8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f075e8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f075e8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f075e8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f075e8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f075e8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f075e8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f075e83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f075e83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f075e83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f075e83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f075ed86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f075ed86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f075ed86b68 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 #46 0x00007f075e869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f075e869db3 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 #48 0x00007f075e869db3 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 #49 0x00007f075e89d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f075e89d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f075e89d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f075e89d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f075e89d93e clang::ento::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 #54 0x00007f075e89dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f075e89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f075e83fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f075e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f075e85109a clang::ento::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 0x00007f075eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f075eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f075eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f075eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f075eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f075eb4e0a7 llvm::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 0x00007f075eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f075eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f075eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f075eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f075eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f075eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f075eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f075cf0724a __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 0x00007f075cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f075cf0724a void clang::finalize>, 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 0x00007f075cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f075e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f075e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f075e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f075e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f075e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000560b115c9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000560b115cd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000560b115cf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000560b115c3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f075523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f075523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000560b115c3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/builtin-functions.cpp.script: line 1: 553352 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bitwise-ops-nocrash.c (495 of 19712) ******************** TEST 'Clang :: Analysis/bitwise-ops-nocrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fed4edd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fed4edceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fed4edd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fed4de54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fed57835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fed57835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fed57835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fed57835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fed57835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fed57835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fed57835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fed57835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fed574d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fed574d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fed574d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fed574d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fed574d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fed574d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fed574d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fed574d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fed574d5f52 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 #21 0x00007fed574d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fed574d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fed574d5f52 (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:34 #24 0x00007fed574d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fed574d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fed574d6a41 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 #27 0x00007fed574b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fed574b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fed574b415f 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 #30 0x00007fed5743e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fed5743e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fed5743e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007fed5743e340 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:0 #34 0x00007fed5746cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007fed5746cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007fed5746cbca 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 #37 0x00007fed5746cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007fed5743f712 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 #39 0x00007fed5745109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007fed5745109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007fed5774c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007fed5774c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007fed5774c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007fed5774c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007fed5774c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007fed5774e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007fed5774e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007fed5774e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007fed57751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007fed57751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007fed57751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007fed57751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007fed57751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007fed55b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007fed55b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007fed55b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007fed55b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007fed57244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007fed571f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007fed571f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007fed571f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007fed572948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x0000562a516cfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x0000562a516d370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x0000562a516d5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x0000562a516c9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007fed4de3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007fed4de3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x0000562a516c9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops-nocrash.c.script: line 1: 553231 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/blocks.mm (496 of 19712) ******************** TEST 'Clang :: Analysis/blocks.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5cb11d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5cb11ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5cb11d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5cb0254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5cb986f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f5cb986f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5cb986f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5cb986f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f5cb986f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f5cb986f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f5cb986f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f5cb986f83e 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 0x00007f5cb9834cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f5cb9834cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f5cb9834cd2 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 0x00007f5cb9834cd2 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 0x00007f5cb98932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x00007f5cb98932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x00007f5cb98932e9 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 0x00007f5cb9893c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f5cb9893c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f5cb9893c90 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 0x00007f5cb983ce4e 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 0x00007f5cb9899b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x00007f5cb9899b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x00007f5cb9899b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x00007f5cb9899b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x00007f5cb9899b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x00007f5cb9899b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x00007f5cb9899b59 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 0x00007f5cb989c69e 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 0x00007f5cb989c69e clang::ento::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 0x00007f5cb989dc4e clang::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 0x00007f5cb989df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5cb983fac2 clang::ento::CoreEngine::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 0x00007f5cb985109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x00007f5cb985109a clang::ento::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 0x00007f5cb9b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x00007f5cb9b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x00007f5cb9b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x00007f5cb9b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x00007f5cb9b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x00007f5cb9b4e0a7 llvm::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 0x00007f5cb9b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x00007f5cb9b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x00007f5cb9b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x00007f5cb9b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x00007f5cb9b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x00007f5cb9b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x00007f5cb9b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x00007f5cb7f0724a __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 0x00007f5cb7f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x00007f5cb7f0724a void clang::finalize>, 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 0x00007f5cb7f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x00007f5cb9644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x00007f5cb95f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x00007f5cb95f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x00007f5cb95f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x00007f5cb96948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000055922364ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000055922365270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000559223654440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000559223648903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x00007f5cb023ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #64 0x00007f5cb023f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #65 0x0000559223648945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.script: line 5: 553294 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (498 of 19712) ******************** TEST 'Clang :: Analysis/bool-assignment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8d785d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8d785ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8d785d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8d77654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8d81029e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8d81029e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8d81029e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8d81029e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8d81029e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8d81029e48 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 0x00007f8d81029e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8d81029e48 (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 0x00007f8d80c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f8d80c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f8d80c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f8d80c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f8d80c2561d 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:26 #17 0x00007f8d80c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f8d80c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f8d80c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f8d80c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f8d80c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f8d80c7ecbc 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:0 #23 0x00007f8d80c7f767 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:0 #24 0x00007f8d80c9c6f1 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 0x00007f8d80c9c6f1 clang::ento::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 0x00007f8d80c9dc4e clang::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 0x00007f8d80c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8d80c3fac2 clang::ento::CoreEngine::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 0x00007f8d80c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f8d80c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f8d80f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f8d80f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f8d80f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f8d80f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f8d80f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f8d80f4e0a7 llvm::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 0x00007f8d80f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f8d80f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f8d80f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f8d80f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f8d80f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f8d80f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f8d80f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f8d7f30724a __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 0x00007f8d7f30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f8d7f30724a void clang::finalize>, 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 0x00007f8d7f30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f8d80a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f8d809f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f8d809f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f8d809f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f8d80a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x00005592a9ff0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x00005592a9ff470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x00005592a9ff6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x00005592a9fea903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f8d7763ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f8d7763f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x00005592a9fea945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bool-assignment.c.script: line 2: 553301 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/block-in-critical-section.cpp (499 of 19712) ******************** TEST 'Clang :: Analysis/block-in-critical-section.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007efffbdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efffbdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efffbdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efffae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f000447d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f000447d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f000447d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f000447d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f000447d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f000447d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f000447d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f000447d99e 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 0x00007f000443ed11 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 0x00007f000443fc1e 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 0x00007f000445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f000445109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f000474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f000474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f000474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f000474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f000474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f000474e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f000474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f000474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f0004751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f0004751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f0004751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f0004751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f0004751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f0002b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f0002b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f0002b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f0002b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f0004244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f00041f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f00041f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f00041f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f00042948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055b4d5580a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055b4d558470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055b4d5586440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055b4d557a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007efffae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007efffae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055b4d557a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.cpp.script: line 1: 553238 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bug_hash_test.cpp (502 of 19712) ******************** TEST 'Clang :: Analysis/bug_hash_test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff60f5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff60f5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff60f5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff60e654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff617c7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff617c7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff617c7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff617c7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff617c7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff617c7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff617c7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007ff617c7d99e 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 0x00007ff617c3ed11 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 0x00007ff617c3fc1e 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 0x00007ff617c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007ff617c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007ff617f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007ff617f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007ff617f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007ff617f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007ff617f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007ff617f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007ff617f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007ff617f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007ff617f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007ff617f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007ff617f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007ff617f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007ff617f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007ff61630724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007ff61630724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007ff61630724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007ff61630724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007ff617a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007ff6179f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007ff6179f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007ff6179f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007ff617a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000558ea30f1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000558ea30f570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000558ea30f7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000558ea30eb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007ff60e63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007ff60e63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000558ea30eb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.cpp.script: line 1: 553328 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/c11lock.c (503 of 19712) ******************** TEST 'Clang :: Analysis/c11lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8a8add0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8a8adceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8a8add1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8a89e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8a9398cc88 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f8a9398cc88 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8a9398cc88 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8a9398cc88 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f8a9398cc88 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f8a9398cc88 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f8a9398cc88 get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f8a9398cc88 (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 0x00007f8a9341bfa7 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 0x00007f8a9346f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f8a9346f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f8a9346f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f8a9346f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f8a9346f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f8a9346f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f8a9346f23c 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 0x00007f8a9349db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f8a9349df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8a9343fac2 clang::ento::CoreEngine::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 0x00007f8a9345109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f8a9345109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f8a9374c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f8a9374c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f8a9374c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f8a9374c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f8a9374c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f8a9374e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f8a9374e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f8a9374e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f8a93751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f8a93751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f8a93751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f8a93751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f8a93751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f8a91b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f8a91b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f8a91b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f8a91b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f8a93244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f8a931f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f8a931f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f8a931f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f8a932948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000563a12f65a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x0000563a12f6970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000563a12f6b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x0000563a12f5f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f8a89e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f8a89e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x0000563a12f5f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/c11lock.c.script: line 1: 553373 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/block-in-critical-section.m (504 of 19712) ******************** TEST 'Clang :: Analysis/block-in-critical-section.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0432fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0432fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0432fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0432054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f043ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f043ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f043ba35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f043ba35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f043ba35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f043ba35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f043ba35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f043ba35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f043b6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f043b6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f043b6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f043b6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f043b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f043b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f043b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f043b6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f043b6d4e65 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 #21 0x00007f043b6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f043b6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f043b6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f043b6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f043b6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f043b6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f043b6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f043b6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f043b6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f043b6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f043b6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f043b6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f043b6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f043b6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f043b6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f043b6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f043b6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f043b6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f043b63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f043b63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f043b63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f043b63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f043bb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f043bb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f043bb86b68 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 #46 0x00007f043b69808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f043b69808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f043b69808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f043b69808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f043b69808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f043b69808c 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 #52 0x00007f043b69bfee 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 #53 0x00007f043b69bfee clang::ento::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 #54 0x00007f043b69dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f043b69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f043b63fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f043b65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f043b65109a clang::ento::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 0x00007f043b94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f043b94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f043b94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f043b94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f043b94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f043b94e0a7 llvm::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 0x00007f043b94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f043b94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f043b951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f043b951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f043b951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f043b951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f043b951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f0439d0724a __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 0x00007f0439d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f0439d0724a void clang::finalize>, 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 0x00007f0439d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f043b444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f043b3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f043b3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f043b3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f043b4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055f29c539a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055f29c53d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055f29c53f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055f29c533903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f043203ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f043203f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055f29c533945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.m.script: line 1: 553239 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/call-and-message.cpp (505 of 19712) ******************** TEST 'Clang :: Analysis/call-and-message.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f619f5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f619f5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f619f5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f619e654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f61a7c7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f61a7c7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f61a7c7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f61a7c7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f61a7c7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f61a7c7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f61a7c7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f61a7c7d99e 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 0x00007f61a7c3ed11 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 0x00007f61a7c3fc1e 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 0x00007f61a7c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f61a7c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f61a7f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f61a7f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f61a7f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f61a7f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f61a7f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f61a7f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f61a7f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f61a7f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f61a7f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f61a7f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f61a7f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f61a7f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f61a7f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f61a630724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f61a630724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f61a630724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f61a630724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f61a7a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f61a79f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f61a79f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f61a79f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f61a7a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x00005638b3f4ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x00005638b3f4f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x00005638b3f51440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x00005638b3f45903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f619e63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f619e63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x00005638b3f45945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.script: line 7: 553391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bstring_UninitRead.c (506 of 19712) ******************** TEST 'Clang :: Analysis/bstring_UninitRead.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f04c0bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f04c0bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f04c0bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f04bfc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f04c9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f04c9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f04c9635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f04c9635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f04c9635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f04c9635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f04c9635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f04c9635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f04c92d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f04c92d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f04c92d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f04c92d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f04c92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f04c92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f04c92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f04c92d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f04c92d4e65 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 #21 0x00007f04c92d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f04c92d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f04c92d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f04c92b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f04c92b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f04c92b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f04c92d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f04c92d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f04c92d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f04c92e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f04c92e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f04c92e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f04c92e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f04c92e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f04c92e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f04c92e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f04c92e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f04c92e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f04c923da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f04c923da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f04c923da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f04c923da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f04c979250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f04c979250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f04c979250c 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 #46 0x00007f04c979250c (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 #47 0x00007f04c97925d6 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x00007f04c97925d6 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:25 #49 0x00007f04c97925d6 (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 #50 0x00007f04c973ceb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #51 0x00007f04c973ceb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x00007f04c973ceb0 (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 #53 0x00007f04c9301ff8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #54 0x00007f04c9301ff8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x00007f04c9301ff8 (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 #56 0x00007f04c930e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #57 0x00007f04c930e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #58 0x00007f04c930e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #59 0x00007f04c930e6c9 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:0 #60 0x00007f04c923cd48 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 0x00007f04c927eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #62 0x00007f04c927eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #63 0x00007f04c927eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #64 0x00007f04c927eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #65 0x00007f04c927eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #66 0x00007f04c927eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #67 0x00007f04c927eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #68 0x00007f04c927eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #69 0x00007f04c927eb8e 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:695:0 #70 0x00007f04c927f767 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:0 #71 0x00007f04c929c6f1 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 #72 0x00007f04c929c6f1 clang::ento::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 #73 0x00007f04c929dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #74 0x00007f04c929df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #75 0x00007f04c923fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #76 0x00007f04c925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #77 0x00007f04c925109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #78 0x00007f04c954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #79 0x00007f04c954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #80 0x00007f04c954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #81 0x00007f04c954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #82 0x00007f04c954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #83 0x00007f04c954e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #84 0x00007f04c954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #85 0x00007f04c954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #86 0x00007f04c9551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #87 0x00007f04c9551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #88 0x00007f04c9551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #89 0x00007f04c9551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #90 0x00007f04c9551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #91 0x00007f04c790724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #92 0x00007f04c790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #93 0x00007f04c790724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #94 0x00007f04c790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #95 0x00007f04c9044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #96 0x00007f04c8ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #97 0x00007f04c8ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #98 0x00007f04c8ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #99 0x00007f04c90948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #100 0x000056546a63da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #101 0x000056546a64170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #102 0x000056546a643440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #103 0x000056546a637903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #104 0x00007f04bfc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #105 0x00007f04bfc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #106 0x000056546a637945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring_UninitRead.c.script: line 1: 553321 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/blocks.m (507 of 19712) ******************** TEST 'Clang :: Analysis/blocks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f70779d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f70779ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f70779d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7076a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7080435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7080435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7080435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7080435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7080435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7080435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7080435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7080435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f70800d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f70800d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f70800d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f70800d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f70800d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f70800d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f70800d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f70800d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f70800d4e65 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 #21 0x00007f70800d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f70800d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f70800d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f70800b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f70800b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f70800b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f70800d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f70800d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f70800d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f70800e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f70800e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f70800e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f70800e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f70800e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f70800e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f70800e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f70800e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f70800e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f708003da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f708003da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f708003da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f708003da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f708003df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f708003df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f708003df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f708000953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f708000953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f708000953e 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 #49 0x00007f7080050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f7080050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f7080050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f708005149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f708005149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f708005149e 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 #55 0x00007f708034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f708034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f708034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f708034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f708034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f708034e0a7 llvm::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 0x00007f708034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f708034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f7080351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f7080351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f7080351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f7080351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f7080351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f707e70724a __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 0x00007f707e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f707e70724a void clang::finalize>, 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 0x00007f707e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f707fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f707fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f707fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f707fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f707fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055c43b8b7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055c43b8bb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055c43b8bd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055c43b8b1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f7076a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f7076a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055c43b8b1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.m.script: line 2: 553293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bstring.c (508 of 19712) ******************** TEST 'Clang :: Analysis/bstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f830e7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f830e7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f830e7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f830d854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8317235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8317235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8317235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8317235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8317235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8317235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8317235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8317235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8316ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8316ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8316ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8316ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8316ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8316ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8316ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8316ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8316ed4e65 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 #21 0x00007f8316ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8316ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8316ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8316eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8316eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8316eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8316ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8316ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8316ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8316ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8316ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8316ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8316ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8316ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8316ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8316ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8316ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8316ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8316e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8316e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8316e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8316e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f831739250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f831739250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f831739250c 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 #46 0x00007f831739250c (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 #47 0x00007f831733c867 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #48 0x00007f831733c867 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 #49 0x00007f831733c867 (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 #50 0x00007f8316f01ff8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x00007f8316f01ff8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x00007f8316f01ff8 (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 0x00007f8316f0e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x00007f8316f0e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #55 0x00007f8316f0e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #56 0x00007f8316f0e6c9 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:0 #57 0x00007f8316e3cd48 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 0x00007f8316e7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007f8316e7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007f8316e7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007f8316e7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007f8316e7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007f8316e7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #64 0x00007f8316e7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #65 0x00007f8316e7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #66 0x00007f8316e7eb8e 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:695:0 #67 0x00007f8316e7f767 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:0 #68 0x00007f8316e9c6f1 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 #69 0x00007f8316e9c6f1 clang::ento::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 #70 0x00007f8316e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x00007f8316e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x00007f8316e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x00007f8316e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x00007f8316e5109a clang::ento::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 0x00007f831714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x00007f831714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x00007f831714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x00007f831714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x00007f831714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x00007f831714e0a7 llvm::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 0x00007f831714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x00007f831714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x00007f8317151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x00007f8317151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x00007f8317151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x00007f8317151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x00007f8317151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x00007f831550724a __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 0x00007f831550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x00007f831550724a void clang::finalize>, 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 0x00007f831550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x00007f8316c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x00007f8316bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x00007f8316bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x00007f8316bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x00007f8316c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x0000561a04249a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000561a0424d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000561a0424f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000561a04243903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x00007f830d83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f830d83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000561a04243945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.c.script: line 4: 553310 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/blocks-no-inline.c (509 of 19712) ******************** TEST 'Clang :: Analysis/blocks-no-inline.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7aa6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7aa6dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7aa6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7aa5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7aaf835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7aaf835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7aaf835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7aaf835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7aaf835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7aaf835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7aaf835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7aaf835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7aaf4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7aaf4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7aaf4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7aaf4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7aaf4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7aaf4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7aaf4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7aaf4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7aaf4d4e65 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 #21 0x00007f7aaf4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7aaf4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7aaf4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7aaf4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7aaf4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7aaf4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7aaf4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7aaf4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7aaf4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7aaf4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7aaf4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7aaf4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7aaf4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7aaf4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7aaf4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7aaf4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7aaf4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7aaf4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7aaf43da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7aaf43da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7aaf43da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7aaf43da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7aaf98e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7aaf98e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7aaf98e15d 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 #46 0x00007f7aaf98e15d 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 #47 0x00007f7aaf588a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f7aaf588a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f7aaf588a58 (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 #50 0x00007f7aaf5aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f7aaf5aaac1 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:48 #52 0x00007f7aaf43cd48 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 #53 0x00007f7aaf47eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f7aaf47eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f7aaf47eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f7aaf47eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f7aaf47eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f7aaf47eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f7aaf47eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f7aaf47eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f7aaf47eb8e 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:695:0 #62 0x00007f7aaf47f767 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:0 #63 0x00007f7aaf49c6f1 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 0x00007f7aaf49c6f1 clang::ento::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 0x00007f7aaf49dc4e clang::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 0x00007f7aaf49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7aaf43fac2 clang::ento::CoreEngine::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 0x00007f7aaf45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f7aaf45109a clang::ento::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 0x00007f7aaf74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f7aaf74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f7aaf74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f7aaf74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f7aaf74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f7aaf751701 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #76 0x00007f7aaf751701 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #77 0x00007f7aaf751701 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #78 0x00007f7aaf751701 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #79 0x00007f7aaf751a65 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #80 0x00007f7aaf751a65 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f7aadb0724a __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 0x00007f7aadb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f7aadb0724a void clang::finalize>, 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 0x00007f7aadb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f7aaf244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f7aaf1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f7aaf1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f7aaf1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f7aaf2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055b607119a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055b60711d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055b60711f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055b607113903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f7aa5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f7aa5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055b607113945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks-no-inline.c.script: line 2: 553271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bug_hash_test.m (510 of 19712) ******************** TEST 'Clang :: Analysis/bug_hash_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa55c9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa55c9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa55c9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa55ba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa565435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa565435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa565435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa565435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa565435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa565435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa565435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa565435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa5650d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa5650d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa5650d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa5650d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa5650d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa5650d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa5650d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa5650d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa5650d4e65 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 #21 0x00007fa5650d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa5650d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa5650d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa5650b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa5650b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa5650b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa5650d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa5650d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa5650d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa5650e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa5650e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa5650e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa5650e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa5650e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa5650e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa5650e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa5650e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa5650e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa56503da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa56503da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa56503da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa56503da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa56503df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa56503df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa56503df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa56500953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa56500953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa56500953e 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 #49 0x00007fa565050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa565050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa565050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fa56505149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa56505149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa56505149e 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 #55 0x00007fa56534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa56534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa56534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa56534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa56534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa56534e0a7 llvm::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 0x00007fa56534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa56534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa565351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa565351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa565351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa565351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa565351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa56370724a __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 0x00007fa56370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa56370724a void clang::finalize>, 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 0x00007fa56370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa564e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa564df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa564df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa564df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa564e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000056537b9f9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000056537b9fd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000056537b9ff440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000056537b9f3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa55ba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa55ba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000056537b9f3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.m.script: line 1: 553347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/bstring.cpp (512 of 19712) ******************** TEST 'Clang :: Analysis/bstring.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd6c03d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd6c03ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd6c03d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd6c9b1aad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd6c8e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd6c8e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd6c8e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd6c8e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd6c8e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd6c8e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd6c8e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd6c8e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd6c8ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd6c8ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd6c8ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd6c8ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd6c8ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd6c8ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd6c8ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd6c8ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd6c8ad4e65 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 #21 0x00007fd6c8ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd6c8ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd6c8ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd6c8ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd6c8ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd6c8ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fd6c8ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd6c8ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd6c8ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fd6c8ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd6c8ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd6c8ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd6c8ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd6c8ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd6c8ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd6c8ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd6c8ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd6c8ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd6c8a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd6c8a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd6c8a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd6c8a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd6c8a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fd6c8a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fd6c8a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fd6c8a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fd6c8a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fd6c8a0953e 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 #49 0x00007fd6c8a50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fd6c8a50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fd6c8a50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fd6c8a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fd6c8a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fd6c8a5149e 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 #55 0x00007fd6c8d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fd6c8d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fd6c8d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fd6c8d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fd6c8d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fd6c8d4e0a7 llvm::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 0x00007fd6c8d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fd6c8d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fd6c8d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fd6c8d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fd6c8d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fd6c8d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fd6c8d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fd6c710724a __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 0x00007fd6c710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fd6c710724a void clang::finalize>, 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 0x00007fd6c710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fd6c8844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fd6c87f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fd6c87f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fd6c87f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fd6c88948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055b2512e3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055b2512e770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055b2512e9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055b2512dd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fd6c9b04f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fd6c9b05009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055b2512dd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.cpp.script: line 5: 553315 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/call-and-message.m (513 of 19712) ******************** TEST 'Clang :: Analysis/call-and-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist 1. parser at end of file #0 0x00007f02b65d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f02b65ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f02b65d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f02b5654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f02bf035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f02bf035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f02bf035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f02bf035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f02bf035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f02bf035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f02bf035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f02bf035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f02becd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f02becd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f02becd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f02becd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f02becd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f02becd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f02becd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f02becd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f02becd4e65 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 #21 0x00007f02becd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f02becd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f02becd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f02becb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f02becb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f02becb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f02becd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f02becd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f02becd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f02bece8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f02bece8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f02bece8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f02bece8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f02bece8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f02bece8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f02bece9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f02bece9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f02bece9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f02bec3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f02bec3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f02bec3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f02bec3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f02bec3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f02bec3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f02bec3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f02bec0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f02bec0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f02bec0953e 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 #49 0x00007f02bec50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f02bec50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f02bec50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f02bec5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f02bec5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f02bec5149e 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 #55 0x00007f02bef4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f02bef4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f02bef4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f02bef4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f02bef4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f02bef4e0a7 llvm::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 0x00007f02bef4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f02bef4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f02bef51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f02bef51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f02bef51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f02bef51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f02bef51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f02bd30724a __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 0x00007f02bd30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f02bd30724a void clang::finalize>, 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 0x00007f02bd30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f02bea44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f02be9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f02be9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f02be9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f02bea948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005651031e0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005651031e470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005651031e6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005651031da903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f02b563ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f02b563f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005651031da945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.script: line 2: 553394 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/bsd-string.c (514 of 19712) ******************** TEST 'Clang :: Analysis/bsd-string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fab7d5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fab7d5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fab7d5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fab7c654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fab8613c107 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fab8613c107 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fab8613c107 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fab8613c107 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fab8613c107 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fab8613c107 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 0x00007fab8613c107 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fab8613c107 (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 0x00007fab85d0226f 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 0x00007fab85d0226f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007fab85d0226f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007fab85d0226f 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 0x00007fab85c235ba llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007fab85c235ba llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007fab85c235ba 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:12 #19 0x00007fab85c235ba clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #20 0x00007fab85c6f0a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x00007fab85c6f0a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x00007fab85c6f0a4 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 0x00007fab85c7d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #24 0x00007fab85c7d731 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:0 #25 0x00007fab85c7ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #26 0x00007fab85c7ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #27 0x00007fab85c7ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #28 0x00007fab85c7ddf2 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 0x00007fab85c3ed11 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 0x00007fab85c3fc1e 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 0x00007fab85c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x00007fab85c5109a clang::ento::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 0x00007fab85f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fab85f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fab85f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007fab85f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007fab85f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007fab85f4e0a7 llvm::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 0x00007fab85f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007fab85f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007fab85f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007fab85f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007fab85f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007fab85f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007fab85f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007fab8430724a __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 0x00007fab8430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007fab8430724a void clang::finalize>, 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 0x00007fab8430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007fab85a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007fab859f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007fab859f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007fab859f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007fab85a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000056424c568a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000056424c56c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000056424c56e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000056424c562903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007fab7c63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007fab7c63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x000056424c562945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/bsd-string.c.script: line 1: 553302 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/call-invalidation.cpp (524 of 19712) ******************** TEST 'Clang :: Analysis/call-invalidation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb121dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb121dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb121dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb120e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb12a47d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb12a47d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb12a47d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb12a47d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb12a47d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb12a47d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb12a47d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fb12a47d99e 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 0x00007fb12a43ed11 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 0x00007fb12a43fc1e 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 0x00007fb12a45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007fb12a45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007fb12a74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007fb12a74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007fb12a74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007fb12a74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007fb12a74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007fb12a74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007fb12a74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007fb12a74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007fb12a751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007fb12a751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007fb12a751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007fb12a751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007fb12a751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007fb128b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007fb128b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007fb128b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007fb128b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007fb12a244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007fb12a1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007fb12a1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007fb12a1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007fb12a2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055a7a6055a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055a7a605970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055a7a605b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055a7a604f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007fb120e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007fb120e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055a7a604f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-invalidation.cpp.script: line 1: 553415 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cast-to-struct.cpp (525 of 19712) ******************** TEST 'Clang :: Analysis/cast-to-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7b459d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7b459ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7b459d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7b44a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7b4e07d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7b4e07d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7b4e07d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7b4e07d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7b4e07d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7b4e07d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7b4e07d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f7b4e07d99e 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 0x00007f7b4e03ed11 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 0x00007f7b4e03fc1e 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 0x00007f7b4e05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f7b4e05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f7b4e34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f7b4e34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f7b4e34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f7b4e34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f7b4e34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f7b4e34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f7b4e34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f7b4e34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f7b4e351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f7b4e351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f7b4e351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f7b4e351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f7b4e351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f7b4c70724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f7b4c70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f7b4c70724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f7b4c70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f7b4de44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f7b4ddf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f7b4ddf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f7b4ddf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f7b4de948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000056101a734a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000056101a73870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000056101a73a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000056101a72e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f7b44a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f7b44a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000056101a72e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-to-struct.cpp.script: line 1: 553441 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (526 of 19712) ******************** TEST 'Clang :: Analysis/call_once.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fbb3c9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbb3c9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbb3c9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbb3ba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbb45435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbb45435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbb45435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbb45435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbb45435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbb45435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbb45435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbb45435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbb450d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbb450d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbb450d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbb450d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbb450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbb450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbb450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbb450d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbb450d4e65 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 #21 0x00007fbb450d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbb450d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbb450d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fbb450b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbb450b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbb450b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fbb450d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbb450d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbb450d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fbb450e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbb450e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbb450e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbb450e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbb450e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbb450e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbb450e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbb450e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbb450e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbb4503da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbb4503da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbb4503da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbb4503da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbb45586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fbb45586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fbb45586b68 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 #46 0x00007fbb45069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fbb45069db3 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 #48 0x00007fbb45069db3 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 #49 0x00007fbb4509d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fbb4509d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fbb4509d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fbb4509d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fbb4509d93e clang::ento::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 #54 0x00007fbb4509dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fbb4509df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fbb4503fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fbb4505109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fbb4505109a clang::ento::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 0x00007fbb4534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fbb4534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fbb4534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fbb4534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fbb4534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fbb4534e0a7 llvm::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 0x00007fbb4534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fbb4534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fbb45351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fbb45351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fbb45351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fbb45351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fbb45351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fbb4370724a __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 0x00007fbb4370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fbb4370724a void clang::finalize>, 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 0x00007fbb4370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fbb44e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fbb44df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fbb44df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fbb44df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fbb44e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000559505675a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055950567970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055950567b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055950566f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fbb3ba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fbb3ba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055950566f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.script: line 5: 553429 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-logic.cpp (527 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-logic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc820dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc820dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc820dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc81fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc829835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc829835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc829835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc829835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc829835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc829835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc829835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc829835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc8294d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc8294d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc8294d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc8294d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc8294d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc8294d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc8294d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc8294d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc8294d4e65 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 #21 0x00007fc8294d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc8294d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc8294d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc8294b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc8294b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc8294b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc8294d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc8294d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc8294d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc8294e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc8294e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc8294e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc8294e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc8294e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc8294e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc8294e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc8294e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc8294e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc82943da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc82943da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc82943da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc82943da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc82943df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc82943df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc82943df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fc829830d73 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fc829830d73 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fc829830d73 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 #49 0x00007fc829830d73 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 #50 0x00007fc829525499 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:0 #51 0x00007fc82943cd48 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 #52 0x00007fc82947eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #53 0x00007fc82947eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #54 0x00007fc82947eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #55 0x00007fc82947eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #56 0x00007fc82947eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #57 0x00007fc82947eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #58 0x00007fc82947eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #59 0x00007fc82947eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #60 0x00007fc82947eb8e 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:695:0 #61 0x00007fc82947f767 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:0 #62 0x00007fc82949c6f1 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 0x00007fc82949c6f1 clang::ento::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 0x00007fc82949dc4e clang::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 0x00007fc82949df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc82943fac2 clang::ento::CoreEngine::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 0x00007fc82945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x00007fc82945109a clang::ento::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 0x00007fc82974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x00007fc82974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x00007fc82974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x00007fc82974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x00007fc82974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x00007fc82974e0a7 llvm::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 0x00007fc82974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x00007fc82974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x00007fc829751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x00007fc829751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x00007fc829751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x00007fc829751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x00007fc829751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x00007fc827b0724a __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 0x00007fc827b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x00007fc827b0724a void clang::finalize>, 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 0x00007fc827b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x00007fc829244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x00007fc8291f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x00007fc8291f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x00007fc8291f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x00007fc8292948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000056257d484a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000056257d48870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000056257d48a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000056257d47e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x00007fc81fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #96 0x00007fc81fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #97 0x000056257d47e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-value-logic.cpp.script: line 1: 553462 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cert/env31-c.c (528 of 19712) ******************** TEST 'Clang :: Analysis/cert/env31-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f63cffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f63cffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f63cffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f63cf054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f63d86ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f63d86ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f63d86ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f63d86ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f63d86ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f63d86ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f63d866f34b 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 #11 0x00007f63d866f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f63d866f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f63d866f34b 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:50 #14 0x00007f63d869db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f63d869df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f63d863f9ea 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 #17 0x00007f63d863fb9e 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:223:0 #18 0x00007f63d865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f63d865109a clang::ento::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 0x00007f63d894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f63d894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f63d894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f63d894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f63d894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f63d894e0a7 llvm::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 0x00007f63d894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f63d894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f63d8951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f63d8951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f63d8951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f63d8951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f63d8951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f63d6d0724a __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 0x00007f63d6d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f63d6d0724a void clang::finalize>, 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 0x00007f63d6d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f63d8444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f63d83f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f63d83f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f63d83f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f63d84948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055a2467afa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055a2467b370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055a2467b5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055a2467a9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f63cf03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f63cf03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055a2467a9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env31-c.c.script: line 5: 553486 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (529 of 19712) ******************** TEST 'Clang :: Analysis/cert/env34-c-cert-examples.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8ce4dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8ce4dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8ce4dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8ce3e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8ced835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8ced835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8ced835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8ced835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8ced835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8ced835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8ced835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8ced835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8ced4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8ced4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8ced4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8ced4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8ced4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8ced4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8ced4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8ced4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8ced4d4e65 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 #21 0x00007f8ced4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8ced4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8ced4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8ced4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8ced4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8ced4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8ced4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8ced4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8ced4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8ced4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8ced4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8ced4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8ced4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8ced4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8ced4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8ced4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8ced4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8ced4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8ced43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8ced43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8ced43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8ced43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8ced986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8ced986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8ced986b68 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 #46 0x00007f8ced469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f8ced469db3 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 #48 0x00007f8ced469db3 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 #49 0x00007f8ced49d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f8ced49d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f8ced49d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f8ced49d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f8ced49d93e clang::ento::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 #54 0x00007f8ced49dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f8ced49df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f8ced43fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f8ced45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f8ced45109a clang::ento::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 0x00007f8ced74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f8ced74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f8ced74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f8ced74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f8ced74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f8ced74e0a7 llvm::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 0x00007f8ced74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f8ced74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f8ced751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f8ced751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f8ced751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f8ced751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f8ced751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f8cebb0724a __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 0x00007f8cebb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f8cebb0724a void clang::finalize>, 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 0x00007f8cebb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f8ced244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f8ced1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f8ced1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f8ced1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f8ced2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005556d735da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005556d736170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005556d7363440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005556d7357903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f8ce3e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f8ce3e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005556d7357945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c-cert-examples.c.script: line 1: 553504 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/casts.c (530 of 19712) ******************** TEST 'Clang :: Analysis/casts.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9582dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9582dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9582dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9581e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f958b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f958b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f958b835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f958b835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f958b835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f958b835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f958b835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f958b835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f958b4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f958b4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f958b4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f958b4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f958b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f958b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f958b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f958b4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f958b4d4e65 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 #21 0x00007f958b4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f958b4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f958b4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f958b4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f958b4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f958b4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f958b4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f958b4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f958b4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f958b4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f958b4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f958b4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f958b4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f958b4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f958b4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f958b4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f958b4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f958b4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f958b43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f958b43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f958b43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f958b43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f958b986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f958b986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f958b986b68 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 #46 0x00007f958b57f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f958b57f794 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:0 #48 0x00007f958b57f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f958b57f794 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:0 #50 0x00007f958b41b7ad 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:5 #51 0x00007f958b468471 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 #52 0x00007f958b468471 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 #53 0x00007f958b469840 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 #54 0x00007f958b469840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f958b469840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f958b469840 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 #57 0x00007f958b477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f958b477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f958b477a6a 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:15 #60 0x00007f958b49bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f958b49bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f958b49bf62 clang::ento::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 #63 0x00007f958b49dc4e clang::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 0x00007f958b49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f958b43fac2 clang::ento::CoreEngine::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 0x00007f958b45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f958b45109a clang::ento::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 0x00007f958b74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f958b74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f958b74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f958b74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f958b74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f958b74e0a7 llvm::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 0x00007f958b74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f958b74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f958b751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f958b751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f958b751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f958b751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f958b751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f9589b0724a __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 0x00007f9589b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f9589b0724a void clang::finalize>, 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 0x00007f9589b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f958b244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f958b1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f958b1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f958b1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f958b2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055b12f2d4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055b12f2d870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055b12f2da440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055b12f2ce903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f9581e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f9581e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055b12f2ce945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.c.script: line 4: 553482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cert/env34-c.c (531 of 19712) ******************** TEST 'Clang :: Analysis/cert/env34-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa05dbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa05dbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa05dbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa05cc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa0663d78fe llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa0663d78fe llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa0663d78fe llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa0663d78fe llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa0663d78fe llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa0663d78fe 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 0x00007fa0663d78fe get<(anonymous namespace)::PreviousCallResultMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x00007fa0663d78fe (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 0x00007fa0663a46d3 (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:3 #13 0x00007fa06622561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #14 0x00007fa06622561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007fa06622561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #16 0x00007fa06622561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #17 0x00007fa06622561d 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:26 #18 0x00007fa06627ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #19 0x00007fa06627ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #20 0x00007fa06627ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #21 0x00007fa06627ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #22 0x00007fa06627ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #23 0x00007fa06627ecbc 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:0 #24 0x00007fa06627f767 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:0 #25 0x00007fa06629c6f1 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 0x00007fa06629c6f1 clang::ento::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 0x00007fa06629dc4e clang::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 0x00007fa06629df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa06623fac2 clang::ento::CoreEngine::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 0x00007fa06625109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007fa06625109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007fa06654c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007fa06654c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007fa06654c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007fa06654c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007fa06654c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007fa06654e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007fa06654e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007fa06654e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007fa066551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007fa066551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007fa066551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007fa066551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007fa066551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007fa06490724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007fa06490724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007fa06490724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007fa06490724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007fa066044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007fa065ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007fa065ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007fa065ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007fa0660948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x000055fca69e3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x000055fca69e770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x000055fca69e9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x000055fca69dd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007fa05cc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007fa05cc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x000055fca69dd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c.c.script: line 1: 553518 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cast-value-state-dump.cpp (532 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-state-dump.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cert/pos34-c.cpp (533 of 19712) ******************** TEST 'Clang :: Analysis/cert/pos34-c.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f43915d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f43915ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f43915d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4390654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f439a035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f439a035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f439a035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f439a035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f439a035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f439a035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f439a035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f439a035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4399cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4399cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4399cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4399cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4399cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4399cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4399cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4399cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4399cd4e65 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 #21 0x00007f4399cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4399cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4399cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4399cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4399cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4399cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4399cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4399cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4399cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4399ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4399ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4399ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4399ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4399ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4399ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4399ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4399ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4399ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4399c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4399c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4399c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4399c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f439a186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f439a186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f439a186b68 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 #46 0x00007f4399c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f4399c69db3 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 #48 0x00007f4399c69db3 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 #49 0x00007f4399c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f4399c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f4399c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f4399c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f4399c9d93e clang::ento::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 #54 0x00007f4399c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f4399c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f4399c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f4399c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4399c5109a clang::ento::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 0x00007f4399f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4399f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4399f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4399f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4399f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4399f4e0a7 llvm::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 0x00007f4399f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4399f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4399f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4399f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4399f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4399f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4399f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f439830724a __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 0x00007f439830724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f439830724a void clang::finalize>, 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 0x00007f439830724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4399a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f43999f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f43999f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f43999f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4399a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005624e2f4aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005624e2f4e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005624e2f50440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005624e2f44903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f439063ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f439063f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005624e2f44945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c.cpp.script: line 1: 553519 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cast-value-notes.cpp (534 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f922f3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x00007f922f3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x00007f922f3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c-fp-suppression.cpp (536 of 19712) ******************** TEST 'Clang :: Analysis/cert/pos34-c-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f599d5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f599d5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f599d5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f599c654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f59a6035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f59a6035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f59a6035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f59a6035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f59a6035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f59a6035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f59a6035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f59a6035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f59a5cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f59a5cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f59a5cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f59a5cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f59a5cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f59a5cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f59a5cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f59a5cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f59a5cd4e65 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 #21 0x00007f59a5cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f59a5cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f59a5cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f59a5cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f59a5cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f59a5cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f59a5cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f59a5cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f59a5cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f59a5ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f59a5ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f59a5ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f59a5ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f59a5ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f59a5ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f59a5ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f59a5ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f59a5ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f59a5c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f59a5c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f59a5c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f59a5c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f59a6186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f59a6186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f59a6186b68 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 #46 0x00007f59a5c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f59a5c69db3 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 #48 0x00007f59a5c69db3 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 #49 0x00007f59a5c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f59a5c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f59a5c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f59a5c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f59a5c9d93e clang::ento::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 #54 0x00007f59a5c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f59a5c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f59a5c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f59a5c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f59a5c5109a clang::ento::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 0x00007f59a5f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f59a5f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f59a5f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f59a5f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f59a5f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f59a5f4e0a7 llvm::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 0x00007f59a5f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f59a5f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f59a5f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f59a5f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f59a5f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f59a5f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f59a5f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f59a430724a __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 0x00007f59a430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f59a430724a void clang::finalize>, 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 0x00007f59a430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f59a5a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f59a59f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f59a59f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f59a59f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f59a5a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000564e3a27da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000564e3a28170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000564e3a283440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000564e3a277903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f599c63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f599c63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000564e3a277945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c-fp-suppression.cpp.script: line 1: 553520 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/casts.cpp (537 of 19712) ******************** TEST 'Clang :: Analysis/casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5f501d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5f501ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5f501d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5f4f254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5f58c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5f58c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5f58c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5f58c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5f58c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5f58c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5f58c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5f58c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5f588d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5f588d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5f588d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5f588d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5f588d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5f588d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5f588d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5f588d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5f588d4e65 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 #21 0x00007f5f588d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5f588d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5f588d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5f588b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5f588b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5f588b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5f588d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5f588d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5f588d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5f588e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5f588e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5f588e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5f588e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5f588e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5f588e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5f588e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5f588e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5f588e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5f5883da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5f5883da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5f5883da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5f5883da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5f58d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5f58d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5f58d86b68 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 #46 0x00007f5f58869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f5f58869db3 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 #48 0x00007f5f58869db3 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 #49 0x00007f5f5889d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f5f5889d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f5f5889d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f5f5889d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f5f5889d93e clang::ento::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 #54 0x00007f5f5889dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f5f5889df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f5f5883fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f5f5885109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f5f5885109a clang::ento::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 0x00007f5f58b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f5f58b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f5f58b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f5f58b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f5f58b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f5f58b4e0a7 llvm::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 0x00007f5f58b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f5f58b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5f58b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5f58b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5f58b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5f58b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5f58b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f5f56f0724a __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 0x00007f5f56f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f5f56f0724a void clang::finalize>, 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 0x00007f5f56f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5f58644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f5f585f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f5f585f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f5f585f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f5f586948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a49492da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a49493170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a494933440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a494927903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f5f4f23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f5f4f23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a494927945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.cpp.script: line 1: 553481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.m (538 of 19712) ******************** TEST 'Clang :: Analysis/casts.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f37353d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f37353ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f37353d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3734454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f373de35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f373de35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f373de35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f373de35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f373de35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f373de35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f373de35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f373de35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f373dad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f373dad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f373dad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f373dad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f373dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f373dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f373dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f373dad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f373dad4e65 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 #21 0x00007f373dad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f373dad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f373dad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f373dab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f373dab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f373dab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f373dad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f373dad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f373dad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f373dae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f373dae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f373dae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f373dae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f373dae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f373dae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f373dae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f373dae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f373dae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f373da3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f373da3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f373da3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f373da3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f373df86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f373df86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f373df86b68 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 #46 0x00007f373da9808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f373da9808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f373da9808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f373da9808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f373da9808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f373da9808c 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 #52 0x00007f373da9bfee 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 #53 0x00007f373da9bfee clang::ento::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 #54 0x00007f373da9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f373da9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f373da3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f373da5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f373da5109a clang::ento::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 0x00007f373dd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f373dd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f373dd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f373dd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f373dd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f373dd4e0a7 llvm::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 0x00007f373dd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f373dd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f373dd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f373dd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f373dd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f373dd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f373dd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f373c10724a __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 0x00007f373c10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f373c10724a void clang::finalize>, 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 0x00007f373c10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f373d844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f373d7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f373d7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f373d7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f373d8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000556c8fa97a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000556c8fa9b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000556c8fa9d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000556c8fa91903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f373443ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f373443f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000556c8fa91945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.m.script: line 1: 553484 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cfref_PR2519.c (541 of 19712) ******************** TEST 'Clang :: Analysis/cfref_PR2519.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd9591d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd9591ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd9591d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd958254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd9618ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd9618ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd9618ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd9618ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fd9618ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fd9618ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fd96186f34b 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 #11 0x00007fd96186f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fd96186f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fd96186f34b 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:50 #14 0x00007fd96189db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fd96189df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fd96183f9ea 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 #17 0x00007fd96183fb9e 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:223:0 #18 0x00007fd96185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fd96185109a clang::ento::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 0x00007fd961b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fd961b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fd961b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fd961b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fd961b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fd961b4e0a7 llvm::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 0x00007fd961b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fd961b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fd961b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fd961b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fd961b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fd961b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fd961b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fd95ff0724a __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 0x00007fd95ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fd95ff0724a void clang::finalize>, 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 0x00007fd95ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fd961644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fd9615f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fd9615f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fd9615f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fd9616948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000561b9ea77a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000561b9ea7b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000561b9ea7d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000561b9ea71903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fd95823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fd95823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000561b9ea71945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_PR2519.c.script: line 1: 553608 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (542 of 19712) ******************** TEST 'Clang :: Analysis/cfref_rdar6080742.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7f277d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7f277ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7f277d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7f26854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7f2fece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7f2fece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7f2fece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7f2fece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f7f2fece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f7f2fece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f7f2fe6f34b 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 #11 0x00007f7f2fe6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f7f2fe6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f7f2fe6f34b 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:50 #14 0x00007f7f2fe9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f7f2fe9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f7f2fe3f9ea 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 #17 0x00007f7f2fe3fb9e 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:223:0 #18 0x00007f7f2fe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f7f2fe5109a clang::ento::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 0x00007f7f3014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f7f3014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f7f3014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f7f3014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f7f3014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f7f3014e0a7 llvm::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 0x00007f7f3014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f7f3014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f7f30151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f7f30151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f7f30151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f7f30151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f7f30151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f7f2e50724a __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 0x00007f7f2e50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f7f2e50724a void clang::finalize>, 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 0x00007f7f2e50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f7f2fc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f7f2fbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f7f2fbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f7f2fbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f7f2fc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055ceb07bfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055ceb07c370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055ceb07c5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055ceb07b9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f7f2683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f7f2683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055ceb07b9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_rdar6080742.c.script: line 1: 553607 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/const-method-call.cpp (543 of 19712) ******************** TEST 'Clang :: Analysis/const-method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe7979d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe7979ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe7979d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe796a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe7a006efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fe7a006efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fe7a006efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fe7a006efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fe7a006efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fe7a006efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fe7a006efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fe7a006efd6 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 0x00007fe7a009db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fe7a009df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fe7a003f9ea 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 #15 0x00007fe7a003fb9e 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:223:0 #16 0x00007fe7a005109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fe7a005109a clang::ento::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 0x00007fe7a034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fe7a034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fe7a034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fe7a034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fe7a034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fe7a034e0a7 llvm::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 0x00007fe7a034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fe7a034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fe7a0351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fe7a0351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fe7a0351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fe7a0351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fe7a0351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fe79e70724a __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 0x00007fe79e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fe79e70724a void clang::finalize>, 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 0x00007fe79e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fe79fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fe79fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fe79fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fe79fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fe79fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x00005624d2bcfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x00005624d2bd370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x00005624d2bd5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x00005624d2bc9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fe796a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fe796a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x00005624d2bc9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/const-method-call.cpp.script: line 1: 553706 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/constant-folding-crash.cpp (544 of 19712) ******************** TEST 'Clang :: Analysis/constant-folding-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f30287d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f30287ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f30287d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3027854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3030ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f3030ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3030ece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3030ece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f3030ece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f3030ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f3030e6f34b 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 #11 0x00007f3030e6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f3030e6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f3030e6f34b 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:50 #14 0x00007f3030e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f3030e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f3030e3f9ea 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 #17 0x00007f3030e3fb9e 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:223:0 #18 0x00007f3030e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f3030e5109a clang::ento::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 0x00007f303114c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f303114c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f303114c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f303114c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f303114c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f303114e0a7 llvm::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 0x00007f303114e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f303114e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f3031151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f3031151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f3031151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f3031151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f3031151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f302f50724a __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 0x00007f302f50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f302f50724a void clang::finalize>, 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 0x00007f302f50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f3030c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f3030bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f3030bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f3030bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f3030c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055c313889a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055c31388d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055c31388f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055c313883903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f302783ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f302783f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055c313883945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding-crash.cpp.script: line 1: 553715 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/constant-folding.c (545 of 19712) ******************** TEST 'Clang :: Analysis/constant-folding.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 branch #0 0x00007fea6b5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fea6b5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fea6b5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fea74d13ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fea74035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fea74035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fea74035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fea74035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fea74035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fea74035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fea74035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fea74035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fea73cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fea73cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fea73cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fea73cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fea73cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fea73cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fea73cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fea73cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fea73cd52fd 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 #21 0x00007fea73cd52fd llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fea73cd52fd llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fea73cd52fd (anonymous namespace)::RangeConstraintManager::assumeSymLT(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3096:31 #24 0x00007fea73cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fea73cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fea73cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fea73cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fea73cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fea73cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fea73ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fea73ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fea73ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fea73ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fea73ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fea73ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fea73ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fea73ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fea73ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fea73c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fea73c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fea73c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fea73c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fea74186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fea74186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fea74186b68 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 #46 0x00007fea73c6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fea73c6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fea73c6bf90 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 #49 0x00007fea73c6bf90 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 #50 0x00007fea73c6bf90 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 #51 0x00007fea73c6bf90 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 #52 0x00007fea73c6bf90 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 #53 0x00007fea73c6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fea73c6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fea73c6bf90 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 #56 0x00007fea73c3f21a 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:0 #57 0x00007fea73c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fea73c5109a clang::ento::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 0x00007fea73f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fea73f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fea73f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fea73f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fea73f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fea73f4e0a7 llvm::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 0x00007fea73f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fea73f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fea73f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fea73f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fea73f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fea73f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fea73f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fea7230724a __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 0x00007fea7230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fea7230724a void clang::finalize>, 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 0x00007fea7230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fea73a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fea739f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fea739f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fea739f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fea73a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e26e0cda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e26e0d170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e26e0d3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e26e0c7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fea74cfdf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fea74cfe009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e26e0c7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding.c.script: line 1: 553714 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/complex.c (546 of 19712) ******************** TEST 'Clang :: Analysis/complex.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd301fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd301fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd301fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd301054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd30a6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd30a6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd30a6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd30a6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fd30a6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fd30a6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fd30a66f34b 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 #11 0x00007fd30a66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fd30a66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fd30a66f34b 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:50 #14 0x00007fd30a69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fd30a69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fd30a63f9ea 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 #17 0x00007fd30a63fb9e 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:223:0 #18 0x00007fd30a65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fd30a65109a clang::ento::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 0x00007fd30a94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fd30a94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fd30a94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fd30a94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fd30a94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fd30a94e0a7 llvm::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 0x00007fd30a94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fd30a94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fd30a951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fd30a951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fd30a951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fd30a951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fd30a951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fd308d0724a __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 0x00007fd308d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fd308d0724a void clang::finalize>, 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 0x00007fd308d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fd30a444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fd30a3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fd30a3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fd30a3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fd30a4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055c8460a1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055c8460a570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055c8460a7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055c84609b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fd30103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fd30103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055c84609b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/complex.c.script: line 1: 553682 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/class-object-state-dump.m (547 of 19712) ******************** TEST 'Clang :: Analysis/class-object-state-dump.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:395: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7feafd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x00007f7feafceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x00007f7feafd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #3 0x00007f7fea054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-operator.cpp (548 of 19712) ******************** TEST 'Clang :: Analysis/conditional-operator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ffa419d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ffa419ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ffa419d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ffa40a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffa4a435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ffa4a435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ffa4a435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ffa4a435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ffa4a435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ffa4a435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ffa4a435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ffa4a435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ffa4a0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ffa4a0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ffa4a0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ffa4a0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ffa4a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ffa4a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ffa4a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ffa4a0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ffa4a0d4e65 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 #21 0x00007ffa4a0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ffa4a0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ffa4a0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ffa4a0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ffa4a0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ffa4a0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ffa4a0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ffa4a0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ffa4a0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ffa4a0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ffa4a0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ffa4a0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ffa4a0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ffa4a0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ffa4a0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ffa4a0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ffa4a0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ffa4a0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ffa4a03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ffa4a03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ffa4a03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ffa4a03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ffa4a586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007ffa4a586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007ffa4a586b68 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 #46 0x00007ffa4a17f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007ffa4a17f794 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:0 #48 0x00007ffa4a17f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007ffa4a17f794 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:0 #50 0x00007ffa4a01b7ad 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:5 #51 0x00007ffa4a068471 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 #52 0x00007ffa4a068471 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 #53 0x00007ffa4a069840 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 #54 0x00007ffa4a069840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007ffa4a069840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007ffa4a069840 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 #57 0x00007ffa4a077a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007ffa4a077a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007ffa4a077a6a 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:15 #60 0x00007ffa4a09bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007ffa4a09bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007ffa4a09bf62 clang::ento::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 #63 0x00007ffa4a09dc4e clang::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 0x00007ffa4a09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ffa4a03fac2 clang::ento::CoreEngine::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 0x00007ffa4a05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007ffa4a05109a clang::ento::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 0x00007ffa4a34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007ffa4a34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007ffa4a34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007ffa4a34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007ffa4a34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007ffa4a34e0a7 llvm::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 0x00007ffa4a34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007ffa4a34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007ffa4a351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007ffa4a351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007ffa4a351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007ffa4a351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007ffa4a351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007ffa4870724a __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 0x00007ffa4870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007ffa4870724a void clang::finalize>, 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 0x00007ffa4870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007ffa49e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007ffa49df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007ffa49df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007ffa49df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007ffa49e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x0000563a2e3b0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000563a2e3b470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000563a2e3b6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000563a2e3aa903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007ffa40a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007ffa40a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x0000563a2e3aa945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-operator.cpp.script: line 1: 553705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/conversion-tracking-notes.c (549 of 19712) ******************** TEST 'Clang :: Analysis/conversion-tracking-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff44f3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff44f3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff44f3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff44e454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff457ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff457ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff457ace1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff457ace1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007ff457ace1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007ff457ace1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007ff457a6f34b 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 #11 0x00007ff457a6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007ff457a6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007ff457a6f34b 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:50 #14 0x00007ff457a7d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007ff457a7d731 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:0 #16 0x00007ff457a7ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007ff457a7ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007ff457a7ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007ff457a7ddf2 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 #20 0x00007ff457a3ed11 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 0x00007ff457a3fc1e 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 0x00007ff457a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007ff457a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007ff457d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007ff457d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007ff457d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007ff457d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007ff457d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007ff457d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007ff457d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007ff457d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007ff457d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007ff457d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007ff457d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007ff457d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007ff457d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007ff45610724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007ff45610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007ff45610724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007ff45610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007ff457844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007ff4577f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007ff4577f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007ff4577f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007ff4578948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x0000559480b0ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x0000559480b1270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x0000559480b14440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x0000559480b08903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007ff44e43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007ff44e43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x0000559480b08945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion-tracking-notes.c.script: line 1: 553739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/conversion.c (550 of 19712) ******************** TEST 'Clang :: Analysis/conversion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f96f57d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f96f57ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f96f57d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f96f4854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f96fdec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f96fdec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f96fdec6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f96fdec6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f96fdec6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f96fdec6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f96fdec6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f96fdec6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f96fdec6be6 (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 0x00007f96fdec7048 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 #14 0x00007f96fdec7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f96fdec7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f96fdec7048 (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 #17 0x00007f96fdedcefe llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f96fdedcefe llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f96fdedcefe 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 #20 0x00007f96fde69a74 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 #21 0x00007f96fde77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #22 0x00007f96fde77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f96fde77a6a 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:15 #24 0x00007f96fde9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #25 0x00007f96fde9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #26 0x00007f96fde9bf62 clang::ento::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 #27 0x00007f96fde9dc4e clang::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 0x00007f96fde9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f96fde3fac2 clang::ento::CoreEngine::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 0x00007f96fde5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007f96fde5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007f96fe14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f96fe14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f96fe14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007f96fe14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007f96fe14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007f96fe14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007f96fe14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007f96fe14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007f96fe151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007f96fe151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007f96fe151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007f96fe151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007f96fe151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007f96fc50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007f96fc50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007f96fc50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007f96fc50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007f96fdc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007f96fdbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007f96fdbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007f96fdbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007f96fdc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x000055b2879c8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x000055b2879cc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x000055b2879ce440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x000055b2879c2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007f96f483ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007f96f483f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x000055b2879c2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.c.script: line 1: 553750 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/constraint_manager_conditions.cpp (552 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa7be7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa7be7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa7be7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa7bd854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa7c7235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa7c7235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa7c7235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa7c7235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa7c7235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa7c7235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa7c7235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa7c7235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa7c6ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa7c6ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa7c6ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa7c6ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa7c6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa7c6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa7c6ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa7c6ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa7c6ed4c2b 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 #21 0x00007fa7c6ed4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa7c6ed4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa7c6ed4c2b (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:31 #24 0x00007fa7c6ed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa7c6ed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa7c6ed6cdb 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 #27 0x00007fa7c6ee8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007fa7c6ee8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007fa7c6ee8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007fa7c6ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007fa7c6ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007fa7c6ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007fa7c6ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fa7c6ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fa7c6ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007fa7c6e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa7c6e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa7c6e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007fa7c6e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007fa7c7386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007fa7c7386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007fa7c7386b68 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 #43 0x00007fa7c6e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007fa7c6e69db3 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 #45 0x00007fa7c6e69db3 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 #46 0x00007fa7c6e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007fa7c6e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007fa7c6e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007fa7c6e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007fa7c6e9d93e clang::ento::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 #51 0x00007fa7c6e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007fa7c6e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007fa7c6e3fac2 clang::ento::CoreEngine::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 0x00007fa7c6e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007fa7c6e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007fa7c714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fa7c714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fa7c714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fa7c714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fa7c714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fa7c714e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fa7c714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fa7c714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fa7c7151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fa7c7151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fa7c7151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fa7c7151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fa7c7151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fa7c550724a __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 0x00007fa7c550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fa7c550724a void clang::finalize>, 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 0x00007fa7c550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fa7c6c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fa7c6bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fa7c6bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fa7c6bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fa7c6c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000056414b74ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000056414b75070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000056414b752440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000056414b746903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fa7bd83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fa7bd83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000056414b746945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_conditions.cpp.script: line 1: 553718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/conditional-path-notes.c (553 of 19712) ******************** TEST 'Clang :: Analysis/conditional-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f4f513d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4f513ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4f513d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4f50454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4f59ad44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f4f59ad44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4f59ad44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4f59ad44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f4f59ad44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f4f59ad44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f4f59ad44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f4f59ad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007f4f59ad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007f4f59ad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007f4f59ad44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007f4f59ad44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007f4f59ad44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007f4f59ad44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007f4f59ad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007f4f59ad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007f4f59ad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007f4f59ad44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007f4f59ad4c2b 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 #23 0x00007f4f59ad4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007f4f59ad4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007f4f59ad4c2b (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:31 #26 0x00007f4f59ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007f4f59ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007f4f59ad6cdb 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 0x00007f4f59ae8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f4f59ae8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f4f59ae8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #32 0x00007f4f59ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x00007f4f59ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x00007f4f59ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x00007f4f59ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x00007f4f59ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x00007f4f59ae9060 clang::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 0x00007f4f59a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007f4f59a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007f4f59a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x00007f4f59a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #42 0x00007f4f59f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x00007f4f59f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x00007f4f59f86b68 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 0x00007f4f59a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x00007f4f59a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x00007f4f59a6bf90 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 0x00007f4f59a6bf90 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 0x00007f4f59a6bf90 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 0x00007f4f59a6bf90 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 0x00007f4f59a6bf90 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 0x00007f4f59a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x00007f4f59a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x00007f4f59a6bf90 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 0x00007f4f59a3f21a 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:0 #56 0x00007f4f59a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x00007f4f59a5109a clang::ento::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 0x00007f4f59d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007f4f59d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007f4f59d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x00007f4f59d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x00007f4f59d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x00007f4f59d4e0a7 llvm::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 0x00007f4f59d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x00007f4f59d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x00007f4f59d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x00007f4f59d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x00007f4f59d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x00007f4f59d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x00007f4f59d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x00007f4f5810724a __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 0x00007f4f5810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x00007f4f5810724a void clang::finalize>, 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 0x00007f4f5810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x00007f4f59844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x00007f4f597f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x00007f4f597f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x00007f4f597f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x00007f4f598948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x00005622d95e8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x00005622d95ec70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x00005622d95ee440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x00005622d95e2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x00007f4f5043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #85 0x00007f4f5043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #86 0x00005622d95e2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.script: line 3: 553708 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/conversion.cpp (554 of 19712) ******************** TEST 'Clang :: Analysis/conversion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc9939d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc9939ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc9939d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc992a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc99c06f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fc99c06f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc99c06f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc99c06f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fc99c06f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fc99c06f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fc99c06f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fc99c06f83e 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 0x00007fc99c035656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fc99c035656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fc99c035656 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 0x00007fc99c035656 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 0x00007fc99c03722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007fc99c03722c 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 0x00007fc99c0e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007fc99c0e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007fc99c0e0dd8 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 #21 0x00007fc99c0e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007fc99c0e1579 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 #23 0x00007fc99c07e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fc99c07e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fc99c07e6c7 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 #26 0x00007fc99c09353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fc99c09353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fc99c09353e 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 #29 0x00007fc99c093f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007fc99c093f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007fc99c093f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc99c093f1d 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 #33 0x00007fc99c03ce4e 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 0x00007fc99c099b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007fc99c099b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007fc99c099b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007fc99c099b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007fc99c099b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007fc99c099b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007fc99c099b59 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 #41 0x00007fc99c09c69e 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 0x00007fc99c09c69e clang::ento::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 #43 0x00007fc99c09dc4e clang::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 0x00007fc99c09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc99c03fac2 clang::ento::CoreEngine::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 0x00007fc99c05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007fc99c05109a clang::ento::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 0x00007fc99c34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007fc99c34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007fc99c34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007fc99c34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007fc99c34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007fc99c34e0a7 llvm::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 0x00007fc99c34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007fc99c34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007fc99c351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007fc99c351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007fc99c351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007fc99c351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007fc99c351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007fc99a70724a __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 0x00007fc99a70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007fc99a70724a void clang::finalize>, 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 0x00007fc99a70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007fc99be44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007fc99bdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007fc99bdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007fc99bdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007fc99be948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055b545a88a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055b545a8c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055b545a8e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055b545a82903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007fc992a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007fc992a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055b545a82945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.cpp.script: line 1: 553788 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/constraint_manager_negate.c (555 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_negate.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4dd87d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4dd87ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4dd87d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4dd7854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4de1235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4de1235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4de1235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4de1235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4de1235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4de1235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4de1235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4de1235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4de0ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4de0ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4de0ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4de0ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4de0ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4de0ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4de0ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4de0ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4de0ed4e65 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 #21 0x00007f4de0ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4de0ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4de0ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4de0eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4de0eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4de0eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4de0ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4de0ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4de0ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4de0ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4de0ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4de0ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4de0ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4de0ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4de0ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4de0ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4de0ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4de0ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4de0e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4de0e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4de0e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4de0e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4de1386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4de1386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4de1386b68 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 #46 0x00007f4de0e6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4de0e6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4de0e6bf90 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 #49 0x00007f4de0e6bf90 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 #50 0x00007f4de0e6bf90 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 #51 0x00007f4de0e6bf90 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 #52 0x00007f4de0e6bf90 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 #53 0x00007f4de0e6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4de0e6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4de0e6bf90 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 #56 0x00007f4de0e3f21a 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:0 #57 0x00007f4de0e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4de0e5109a clang::ento::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 0x00007f4de114c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4de114c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4de114c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4de114c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4de114c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4de114e0a7 llvm::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 0x00007f4de114e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4de114e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4de1151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4de1151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4de1151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4de1151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4de1151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4ddf50724a __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 0x00007f4ddf50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4ddf50724a void clang::finalize>, 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 0x00007f4ddf50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4de0c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4de0bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4de0bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4de0bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4de0c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056056c6e7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056056c6eb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056056c6ed440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056056c6e1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4dd783ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4dd783f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056056c6e1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate.c.script: line 1: 553727 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/comparison-implicit-casts.cpp (558 of 19712) ******************** TEST 'Clang :: Analysis/comparison-implicit-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe32ffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe32ffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe32ffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe32f054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe338a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe338a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe338a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe338a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe338a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe338a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe338a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe338a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe3386d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe3386d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe3386d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe3386d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe3386d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe3386d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe3386d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe3386d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe3386d4e65 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 #21 0x00007fe3386d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe3386d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe3386d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe3386b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe3386b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe3386b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe3386d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe3386d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe3386d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe3386e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe3386e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe3386e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe3386e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe3386e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe3386e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe3386e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe3386e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe3386e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe33863da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe33863da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe33863da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe33863da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe338b9250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe338b9250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe338b9250c 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 #46 0x00007fe338b9250c (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 #47 0x00007fe338b925d6 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x00007fe338b925d6 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:25 #49 0x00007fe338b925d6 (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 #50 0x00007fe33871cfc8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x00007fe33871cfc8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x00007fe33871cfc8 (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:0 #53 0x00007fe33870e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x00007fe33870e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #55 0x00007fe33870e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #56 0x00007fe33870e6c9 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:0 #57 0x00007fe33863cd48 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 0x00007fe33867eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007fe33867eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007fe33867eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007fe33867eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007fe33867eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007fe33867eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #64 0x00007fe33867eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #65 0x00007fe33867eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #66 0x00007fe33867eb8e 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:695:0 #67 0x00007fe33867f767 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:0 #68 0x00007fe33869c6f1 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 #69 0x00007fe33869c6f1 clang::ento::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 #70 0x00007fe33869dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x00007fe33869df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x00007fe33863fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x00007fe33865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x00007fe33865109a clang::ento::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 0x00007fe33894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x00007fe33894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x00007fe33894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x00007fe33894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x00007fe33894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x00007fe33894e0a7 llvm::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 0x00007fe33894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x00007fe33894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x00007fe338951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x00007fe338951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x00007fe338951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x00007fe338951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x00007fe338951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x00007fe336d0724a __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 0x00007fe336d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x00007fe336d0724a void clang::finalize>, 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 0x00007fe336d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x00007fe338444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x00007fe3383f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x00007fe3383f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x00007fe3383f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x00007fe3384948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x00005653cf070a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x00005653cf07470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x00005653cf076440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x00005653cf06a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x00007fe32f03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007fe32f03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x00005653cf06a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/comparison-implicit-casts.cpp.script: line 2: 553678 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/constraint-assignor.c (559 of 19712) ******************** TEST 'Clang :: Analysis/constraint-assignor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f92281d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f92281ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f92281d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9231916ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9230c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9230c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9230c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9230c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9230c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9230c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9230c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9230c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f92308d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f92308d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f92308d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f92308d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f92308d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f92308d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f92308d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f92308d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f92308d4e65 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 #21 0x00007f92308d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f92308d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f92308d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f92308b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f92308b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f92308b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f92308d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f92308d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f92308d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f92308e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f92308e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f92308e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f92308e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f92308e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f92308e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f92308e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f92308e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f92308e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f923083da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f923083da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f923083da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f923083da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9230d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9230d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9230d86b68 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 #46 0x00007f9230869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f9230869db3 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 #48 0x00007f9230869db3 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 #49 0x00007f923089d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f923089d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f923089d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f923089d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f923089d93e clang::ento::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 #54 0x00007f923089dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f923089df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f923083fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f923085109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f923085109a clang::ento::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 0x00007f9230b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f9230b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f9230b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f9230b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f9230b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f9230b4e0a7 llvm::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 0x00007f9230b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f9230b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f9230b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f9230b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f9230b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f9230b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f9230b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f922ef0724a __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 0x00007f922ef0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f922ef0724a void clang::finalize>, 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 0x00007f922ef0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f9230644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f92305f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f92305f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f92305f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f92306948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055cd81e3ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055cd81e4270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055cd81e44440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055cd81e38903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f9231900f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f9231901009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055cd81e38945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint-assignor.c.script: line 1: 553713 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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_negate_difference.c (560 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_negate_difference.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa7d65d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa7d65ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa7d65d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa7d5654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa7decd44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa7decd44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa7decd44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa7decd44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa7decd44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa7decd44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa7decd44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fa7decd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007fa7decd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007fa7decd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007fa7decd44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007fa7decd44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007fa7decd44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007fa7decd44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007fa7decd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007fa7decd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007fa7decd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007fa7decd44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007fa7decd4c2b 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 #23 0x00007fa7decd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007fa7decd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007fa7decd4c2b (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:31 #26 0x00007fa7decb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007fa7decb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007fa7decb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x00007fa7decd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x00007fa7decd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x00007fa7decd643f clang::ento::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 0x00007fa7dece8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007fa7dece8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007fa7dece8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #35 0x00007fa7dece8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x00007fa7dece8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x00007fa7dece8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x00007fa7dece9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007fa7dece9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007fa7dece9060 clang::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 0x00007fa7dec3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007fa7dec3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007fa7dec3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x00007fa7dec3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #45 0x00007fa7df18e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x00007fa7df18e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x00007fa7df18e15d 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 0x00007fa7df18e15d 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 0x00007fa7ded88a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #50 0x00007fa7ded88a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #51 0x00007fa7ded88a58 (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 0x00007fa7dedaaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #53 0x00007fa7dedaaac1 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:48 #54 0x00007fa7dec3cd48 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 0x00007fa7dec7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #56 0x00007fa7dec7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #57 0x00007fa7dec7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #58 0x00007fa7dec7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #59 0x00007fa7dec7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #60 0x00007fa7dec7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #61 0x00007fa7dec7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #62 0x00007fa7dec7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #63 0x00007fa7dec7eb8e 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:695:0 #64 0x00007fa7dec7f767 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:0 #65 0x00007fa7dec9c6f1 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 0x00007fa7dec9c6f1 clang::ento::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 0x00007fa7dec9dc4e clang::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 0x00007fa7dec9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa7dec3fac2 clang::ento::CoreEngine::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 0x00007fa7dec5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #71 0x00007fa7dec5109a clang::ento::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 0x00007fa7def4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #73 0x00007fa7def4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #74 0x00007fa7def4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #75 0x00007fa7def4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #76 0x00007fa7def4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #77 0x00007fa7def4e0a7 llvm::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 0x00007fa7def4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x00007fa7def4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #80 0x00007fa7def51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x00007fa7def51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x00007fa7def51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x00007fa7def51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x00007fa7def51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x00007fa7dd30724a __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 0x00007fa7dd30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x00007fa7dd30724a void clang::finalize>, 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 0x00007fa7dd30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x00007fa7dea44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #90 0x00007fa7de9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #91 0x00007fa7de9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #92 0x00007fa7de9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #93 0x00007fa7dea948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #94 0x000055d09d126a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x000055d09d12a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x000055d09d12c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x000055d09d120903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x00007fa7d563ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #99 0x00007fa7d563f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #100 0x000055d09d120945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate_difference.c.script: line 1: 553728 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/copy-elision.mm (562 of 19712) ******************** TEST 'Clang :: Analysis/copy-elision.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f404e9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f404e9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f404e9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f404da54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f405706efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f405706efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f405706efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f405706efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f405706efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f405706efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f405706efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f405706efd6 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 0x00007f405709db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f405709df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f405703fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f405705109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f405705109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f405734c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f405734c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f405734c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f405734c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f405734c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f405734e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f405734e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f405734e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f4057351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f4057351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f4057351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f4057351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f4057351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f405570724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f405570724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f405570724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f405570724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f4056e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f4056df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f4056df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f4056df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f4056e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000055d9b3031a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000055d9b303570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000055d9b3037440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000055d9b302b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f404da3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f404da3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x000055d9b302b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.mm.script: line 1: 553804 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/copy-elision.cpp (563 of 19712) ******************** TEST 'Clang :: Analysis/copy-elision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f44bc3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f44bc3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f44bc3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f44bb454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f44c4a72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f44c4a72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f44c4a72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f44c4a72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f44c4a72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f44c4a72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f44c4a72b29 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:89 #11 0x00007f44c4a72e8c 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 #12 0x00007f44c4a72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f44c4a72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f44c4a72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f44c4a72e8c 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:53 #16 0x00007f44c4a7347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f44c4a7347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f44c4a7347f 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:62 #19 0x00007f44c4a73756 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007f44c4a73756 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007f44c4a73756 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:50 #22 0x00007f44c4a9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x00007f44c4a9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x00007f44c4a9a404 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 #25 0x00007f44c4a9a404 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 #26 0x00007f44c4a9c69e 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 #27 0x00007f44c4a9c69e clang::ento::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 #28 0x00007f44c4a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #29 0x00007f44c4a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f44c4a3fac2 clang::ento::CoreEngine::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 0x00007f44c4a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x00007f44c4a5109a clang::ento::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 0x00007f44c4d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f44c4d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f44c4d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f44c4d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f44c4d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f44c4d4e0a7 llvm::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 0x00007f44c4d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f44c4d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f44c4d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f44c4d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f44c4d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f44c4d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f44c4d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f44c310724a __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 0x00007f44c310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f44c310724a void clang::finalize>, 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 0x00007f44c310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f44c4844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f44c47f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f44c47f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f44c47f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f44c48948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x00005588d8d47a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x00005588d8d4b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x00005588d8d4d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x00005588d8d41903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f44bb43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f44bb43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x00005588d8d41945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.cpp.script: line 4: 553806 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/copypaste/asm.cpp (564 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/asm.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc55e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc55e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc55e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc55d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc566cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fc566cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc566cce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc566cce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fc566cce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fc566cce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fc566c6f34b 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 #11 0x00007fc566c6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fc566c6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fc566c6f34b 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:50 #14 0x00007fc566c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fc566c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fc566c3f9ea 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 #17 0x00007fc566c3fb9e 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:223:0 #18 0x00007fc566c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fc566c5109a clang::ento::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 0x00007fc566f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fc566f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fc566f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fc566f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fc566f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fc566f4e0a7 llvm::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 0x00007fc566f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fc566f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fc566f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fc566f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fc566f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fc566f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fc566f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fc56530724a __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 0x00007fc56530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fc56530724a void clang::finalize>, 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 0x00007fc56530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fc566a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fc5669f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fc5669f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fc5669f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fc566a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055c036fefa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055c036ff370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055c036ff5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055c036fe9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fc55d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fc55d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055c036fe9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/asm.cpp.script: line 1: 553817 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/container-modeling.cpp (565 of 19712) ******************** TEST 'Clang :: Analysis/container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f759d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f759d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f759d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f759c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f75a5ec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f75a5ec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f75a5ec6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f75a5ec6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f75a5ec6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f75a5ec6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f75a5ec6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f75a5ec6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f75a5ec6be6 (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 0x00007f75a5ec7048 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 #14 0x00007f75a5ec7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f75a5ec7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f75a5ec7048 (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 #17 0x00007f75a5eecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f75a5eecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f75a5eecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f75a5eecee7 (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 #21 0x00007f75a5eeca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007f75a5eeca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007f75a5eeca64 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 #24 0x00007f75a633bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007f75a633bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007f75a633bf33 (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 #27 0x00007f75a5eb4298 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 #28 0x00007f75a5eb4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007f75a5eb4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f75a5eb4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007f75a5eb4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007f75a5eb3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007f75a5eb3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007f75a5eb3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007f75a5ed62c8 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 #36 0x00007f75a5ed62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007f75a5ed62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007f75a5ed62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007f75a5ed63a7 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 #40 0x00007f75a5ed63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007f75a5ed63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f75a5ed63a7 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 #43 0x00007f75a5ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f75a5ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f75a5ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007f75a5ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007f75a5ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007f75a5ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007f75a5ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007f75a5ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007f75a5ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007f75a5e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f75a5e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f75a5e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007f75a5e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007f75a5e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f75a5e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f75a5e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007f75a5e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f75a5e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f75a5e0953e 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 #62 0x00007f75a5f94b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007f75a5f94b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007f75a5f94b85 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:42 #65 0x00007f75a5f58181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007f75a5f58181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007f75a5f58181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007f75a5f58181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007f75a5f58181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007f75a5f58181 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:46 #71 0x00007f75a5e2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007f75a5e2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007f75a5e2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007f75a5e2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007f75a5e2561d 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:26 #76 0x00007f75a5e7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007f75a5e7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007f75a5e7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007f75a5e7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007f75a5e7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007f75a5e7ecbc 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:0 #82 0x00007f75a5e7f767 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:0 #83 0x00007f75a5e9c6f1 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 #84 0x00007f75a5e9c6f1 clang::ento::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 #85 0x00007f75a5e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007f75a5e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007f75a5e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007f75a5e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007f75a5e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007f75a614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007f75a614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007f75a614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007f75a614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007f75a614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007f75a614e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007f75a614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007f75a614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007f75a6151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007f75a6151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007f75a6151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007f75a6151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007f75a6151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007f75a450724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007f75a450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007f75a450724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007f75a450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007f75a5c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007f75a5bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007f75a5bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007f75a5bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007f75a5c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x000055d62551ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x000055d62551f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x000055d625521440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x000055d625515903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007f759c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007f759c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x000055d625515945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/container-modeling.cpp.script: line 3: 553735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/copypaste/attributes.cpp (566 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/attributes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9ba9dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9ba9dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9ba9dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9ba8e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9bb2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9bb2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9bb2835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9bb2835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9bb2835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9bb2835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9bb2835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9bb2835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9bb24d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9bb24d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9bb24d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9bb24d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9bb24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9bb24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9bb24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9bb24d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9bb24d5f52 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 #21 0x00007f9bb24d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9bb24d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9bb24d5f52 (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:34 #24 0x00007f9bb24d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9bb24d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9bb24d6a41 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 #27 0x00007f9bb24b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9bb24b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9bb24b415f 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 #30 0x00007f9bb243e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9bb243e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9bb243e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f9bb243e340 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:0 #34 0x00007f9bb246cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f9bb246cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f9bb246cbca 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 #37 0x00007f9bb246cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f9bb243f712 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 #39 0x00007f9bb245109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f9bb245109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f9bb274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f9bb274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f9bb274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f9bb274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f9bb274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f9bb274e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f9bb274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f9bb274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f9bb2751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f9bb2751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f9bb2751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f9bb2751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f9bb2751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f9bb0b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f9bb0b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f9bb0b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f9bb0b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f9bb2244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f9bb21f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f9bb21f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f9bb21f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f9bb22948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000055fea298aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000055fea298e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000055fea2990440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000055fea2984903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f9ba8e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f9ba8e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x000055fea2984945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/attributes.cpp.script: line 1: 553816 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/delete.cpp (567 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/delete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f14761d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f14761ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f14761d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1475254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f147e8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f147e8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f147e8ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f147e8ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f147e8ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f147e8ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f147e86f34b 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 #11 0x00007f147e86f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f147e86f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f147e86f34b 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:50 #14 0x00007f147e89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f147e89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f147e83f9ea 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 #17 0x00007f147e83fb9e 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:223:0 #18 0x00007f147e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f147e85109a clang::ento::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 0x00007f147eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f147eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f147eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f147eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f147eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f147eb4e0a7 llvm::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 0x00007f147eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f147eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f147eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f147eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f147eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f147eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f147eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f147cf0724a __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 0x00007f147cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f147cf0724a void clang::finalize>, 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 0x00007f147cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f147e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f147e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f147e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f147e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f147e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000056414cda2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000056414cda670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000056414cda8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000056414cd9c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f147523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f147523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000056414cd9c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/delete.cpp.script: line 1: 553868 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dependent-exist.cpp (568 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/dependent-exist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb8f4fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb8f4fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb8f4fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb8f4054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb8fd6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb8fd6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb8fd6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb8fd6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fb8fd6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fb8fd6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fb8fd66f34b 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 #11 0x00007fb8fd66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fb8fd66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fb8fd66f34b 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:50 #14 0x00007fb8fd69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fb8fd69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fb8fd63f9ea 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 #17 0x00007fb8fd63fb9e 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:223:0 #18 0x00007fb8fd65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fb8fd65109a clang::ento::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 0x00007fb8fd94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fb8fd94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fb8fd94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fb8fd94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fb8fd94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fb8fd94e0a7 llvm::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 0x00007fb8fd94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fb8fd94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fb8fd951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fb8fd951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fb8fd951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fb8fd951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fb8fd951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fb8fbd0724a __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 0x00007fb8fbd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fb8fbd0724a void clang::finalize>, 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 0x00007fb8fbd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fb8fd444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fb8fd3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fb8fd3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fb8fd3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fb8fd4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055b50195aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055b50195e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055b501960440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055b501954903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fb8f403ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fb8f403f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055b501954945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dependent-exist.cpp.script: line 1: 553875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/call.cpp (569 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f343afd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f343afceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f343afd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f343a054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f344367d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f344367d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f344367d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f344367d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f344367d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f344367d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f344367d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f344367d99e 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 0x00007f344363ed11 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 0x00007f344363fc1e 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 0x00007f344365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f344365109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f344394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f344394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f344394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f344394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f344394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f344394e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f344394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f344394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f3443951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f3443951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f3443951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f3443951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f3443951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f3441d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f3441d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f3441d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f3441d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f3443444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f34433f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f34433f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f34433f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f34434948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000557760caca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000557760cb070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000557760cb2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000557760ca6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f343a03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f343a03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000557760ca6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/call.cpp.script: line 1: 553864 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/catch.cpp (571 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/catch.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6c123d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6c123ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6c123d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6c11454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6c1aace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f6c1aace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f6c1aace1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f6c1aace1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f6c1aace1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f6c1aace1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f6c1aa6f34b 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 #11 0x00007f6c1aa6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f6c1aa6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f6c1aa6f34b 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:50 #14 0x00007f6c1aa9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f6c1aa9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f6c1aa3f9ea 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 #17 0x00007f6c1aa3fb9e 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:223:0 #18 0x00007f6c1aa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f6c1aa5109a clang::ento::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 0x00007f6c1ad4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f6c1ad4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f6c1ad4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f6c1ad4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f6c1ad4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f6c1ad4e0a7 llvm::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 0x00007f6c1ad4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f6c1ad4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f6c1ad51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f6c1ad51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f6c1ad51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f6c1ad51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f6c1ad51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f6c1910724a __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 0x00007f6c1910724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f6c1910724a void clang::finalize>, 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 0x00007f6c1910724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f6c1a844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f6c1a7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f6c1a7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f6c1a7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f6c1a8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055927c415a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055927c41970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055927c41b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055927c40f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f6c1143ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f6c1143f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055927c40f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/catch.cpp.script: line 1: 553862 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/autogenerated_automoc.cpp (575 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/autogenerated_automoc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f31a89d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f31a89ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f31a89d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f31a7a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f31b1435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f31b1435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f31b1435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f31b1435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f31b1435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f31b1435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f31b1435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f31b1435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f31b10d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f31b10d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f31b10d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f31b10d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f31b10d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f31b10d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f31b10d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f31b10d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f31b10d4e65 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 #21 0x00007f31b10d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f31b10d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f31b10d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f31b10b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f31b10b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f31b10b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f31b10d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f31b10d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f31b10d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f31b10e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f31b10e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f31b10e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f31b10e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f31b10e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f31b10e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f31b10e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f31b10e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f31b10e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f31b103da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f31b103da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f31b103da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f31b103da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f31b103df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f31b103df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f31b103df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f31b1097620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f31b1097620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f31b1097620 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 #49 0x00007f31b1097620 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 #50 0x00007f31b10977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f31b10977b2 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 0x00007f31b109dfaf clang::ento::ExprEngine::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 0x00007f31b103fac2 clang::ento::CoreEngine::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 0x00007f31b105109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f31b105109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f31b134c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f31b134c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f31b134c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f31b134c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f31b134c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f31b134e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f31b134e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f31b134e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f31b1351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f31b1351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f31b1351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f31b1351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f31b1351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f31af70724a __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 0x00007f31af70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f31af70724a void clang::finalize>, 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 0x00007f31af70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f31b0e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f31b0df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f31b0df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f31b0df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f31b0e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055ed41696a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055ed4169a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055ed4169c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055ed41690903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f31a7a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f31a7a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055ed41690945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/autogenerated_automoc.cpp.script: line 1: 553858 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/clone-begin-end-different-file.cpp (576 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f157a7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f157a7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f157a7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1579854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1583235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1583235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1583235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1583235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1583235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1583235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1583235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1583235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1582ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1582ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1582ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1582ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1582ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1582ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1582ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1582ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1582ed4e65 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 #21 0x00007f1582ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1582ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1582ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1582eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1582eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1582eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1582ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1582ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1582ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1582ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1582ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1582ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1582ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1582ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1582ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1582ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1582ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1582ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1582e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1582e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1582e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1582e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1583386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1583386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1583386b68 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 #46 0x00007f1582e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f1582e69db3 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 #48 0x00007f1582e69db3 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 #49 0x00007f1582e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f1582e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f1582e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f1582e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f1582e9d93e clang::ento::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 #54 0x00007f1582e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f1582e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f1582e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f1582e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f1582e5109a clang::ento::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 0x00007f158314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f158314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f158314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f158314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f158314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f158314e0a7 llvm::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 0x00007f158314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f158314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1583151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1583151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1583151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1583151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1583151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f158150724a __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 0x00007f158150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f158150724a void clang::finalize>, 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 0x00007f158150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1582c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1582bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1582bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1582bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1582c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000555595cc3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000555595cc770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000555595cc9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000555595cbd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f157983ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f157983f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000555595cbd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/clone-begin-end-different-file.cpp.script: line 1: 553865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dbus_autogenerated.cpp (578 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/dbus_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa67b5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa67b5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa67b5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa67a654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa684035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa684035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa684035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa684035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa684035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa684035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa684035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa684035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa683cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa683cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa683cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa683cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa683cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa683cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa683cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa683cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa683cd4e65 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 #21 0x00007fa683cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa683cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa683cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa683cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa683cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa683cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa683cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa683cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa683cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa683ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa683ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa683ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa683ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa683ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa683ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa683ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa683ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa683ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa683c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa683c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa683c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa683c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa683c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa683c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa683c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa683c97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa683c97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa683c97620 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 #49 0x00007fa683c97620 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 #50 0x00007fa683c977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fa683c977b2 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 0x00007fa683c9dfaf clang::ento::ExprEngine::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 0x00007fa683c3fac2 clang::ento::CoreEngine::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 0x00007fa683c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007fa683c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007fa683f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fa683f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fa683f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fa683f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fa683f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fa683f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fa683f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fa683f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fa683f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fa683f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fa683f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fa683f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fa683f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fa68230724a __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 0x00007fa68230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fa68230724a void clang::finalize>, 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 0x00007fa68230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fa683a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fa6839f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fa6839f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fa6839f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fa683a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000056391828ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000056391829070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000563918292440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000563918286903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fa67a63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fa67a63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000563918286945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dbus_autogenerated.cpp.script: line 1: 553866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/expr-types.cpp (579 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/expr-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f23009d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f23009ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f23009d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f22ffa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2309435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2309435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2309435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2309435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2309435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2309435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2309435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2309435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f23090d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f23090d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f23090d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f23090d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f23090d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f23090d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f23090d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f23090d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f23090d4c2b 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 #21 0x00007f23090d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f23090d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f23090d4c2b (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:31 #24 0x00007f23090d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f23090d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f23090d6cdb 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 #27 0x00007f23090e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f23090e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f23090e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f23090e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f23090e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f23090e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f23090e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f23090e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f23090e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f230903da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f230903da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f230903da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f230903da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f2309586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f2309586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f2309586b68 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 #43 0x00007f2309069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f2309069db3 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 #45 0x00007f2309069db3 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 #46 0x00007f230909d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f230909d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f230909d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f230909d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f230909d93e clang::ento::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 #51 0x00007f230909dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f230909df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f230903fac2 clang::ento::CoreEngine::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 0x00007f230905109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f230905109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f230934c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f230934c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f230934c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f230934c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f230934c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f230934e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f230934e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f230934e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f2309351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f2309351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f2309351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f2309351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f2309351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f230770724a __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 0x00007f230770724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f230770724a void clang::finalize>, 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 0x00007f230770724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f2308e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f2308df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f2308df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f2308df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f2308e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005562d6607a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005562d660b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005562d660d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005562d6601903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f22ffa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f22ffa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005562d6601945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/expr-types.cpp.script: line 1: 553887 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/generic.c (580 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3616dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3616dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3616dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3615e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f361f4ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f361f4ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f361f4ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f361f4ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f361f4ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f361f4ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f361f46f34b 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 #11 0x00007f361f46f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f361f46f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f361f46f34b 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:50 #14 0x00007f361f49db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f361f49df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f361f43f9ea 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 #17 0x00007f361f43fb9e 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:223:0 #18 0x00007f361f45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f361f45109a clang::ento::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 0x00007f361f74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f361f74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f361f74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f361f74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f361f74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f361f74e0a7 llvm::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 0x00007f361f74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f361f74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f361f751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f361f751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f361f751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f361f751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f361f751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f361db0724a __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 0x00007f361db0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f361db0724a void clang::finalize>, 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 0x00007f361db0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f361f244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f361f1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f361f1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f361f1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f361f2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x00005614fc395a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x00005614fc39970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x00005614fc39b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x00005614fc38f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f3615e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f3615e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x00005614fc38f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/generic.c.script: line 1: 553914 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/functions.cpp (583 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f41699d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f41699ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f41699d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4168a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4172435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4172435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4172435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4172435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4172435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4172435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4172435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4172435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f41720d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f41720d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f41720d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f41720d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f41720d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f41720d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f41720d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f41720d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f41720d4c2b 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 #21 0x00007f41720d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f41720d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f41720d4c2b (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:31 #24 0x00007f41720d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f41720d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f41720d6cdb 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 #27 0x00007f41720e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f41720e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f41720e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f41720e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f41720e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f41720e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f41720e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f41720e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f41720e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f417203da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f417203da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f417203da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f417203da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f4172586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f4172586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f4172586b68 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 #43 0x00007f4172069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f4172069db3 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 #45 0x00007f4172069db3 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 #46 0x00007f417209d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f417209d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f417209d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f417209d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f417209d93e clang::ento::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 #51 0x00007f417209dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f417209df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f417203fac2 clang::ento::CoreEngine::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 0x00007f417205109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f417205109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f417234c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f417234c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f417234c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f417234c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f417234c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f417234e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f417234e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f417234e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f4172351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f4172351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f4172351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f4172351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f4172351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f417070724a __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 0x00007f417070724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f417070724a void clang::finalize>, 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 0x00007f417070724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f4171e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f4171df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f4171df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f4171df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f4171e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055ad4d458a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055ad4d45c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055ad4d45e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055ad4d452903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f4168a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f4168a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055ad4d452945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/functions.cpp.script: line 1: 553912 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (585 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/labels.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fecaabd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fecaabceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fecaabd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007feca9c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fecb3635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fecb3635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fecb3635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fecb3635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fecb3635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fecb3635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fecb3635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fecb3635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fecb32d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fecb32d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fecb32d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fecb32d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fecb32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fecb32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fecb32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fecb32d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fecb32d4e65 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 #21 0x00007fecb32d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fecb32d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fecb32d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fecb32b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fecb32b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fecb32b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fecb32d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fecb32d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fecb32d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fecb32e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fecb32e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fecb32e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fecb32e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fecb32e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fecb32e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fecb32e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fecb32e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fecb32e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fecb323da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fecb323da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fecb323da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fecb323da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fecb3786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fecb3786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fecb3786b68 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 #46 0x00007fecb3269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fecb3269db3 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 #48 0x00007fecb3269db3 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 #49 0x00007fecb329d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fecb329d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fecb329d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fecb329d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fecb329d93e clang::ento::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 #54 0x00007fecb329dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fecb329df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fecb323fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fecb325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fecb325109a clang::ento::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 0x00007fecb354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fecb354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fecb354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fecb354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fecb354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fecb354e0a7 llvm::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 0x00007fecb354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fecb354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fecb3551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fecb3551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fecb3551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fecb3551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fecb3551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fecb190724a __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 0x00007fecb190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fecb190724a void clang::finalize>, 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 0x00007fecb190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fecb3044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fecb2ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fecb2ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fecb2ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fecb30948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056011c4bfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056011c4c370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056011c4c5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056011c4b9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007feca9c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007feca9c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056011c4b9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/labels.cpp.script: line 1: 553939 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/suspicious-clones.cpp (586 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/suspicious-clones.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:50:7: Error evaluating statement #0 0x00007f599b5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f599b5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f599b5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f599a654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f59a3cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f59a3cce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f59a3cce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f59a3cce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f59a3cce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f59a3cce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f59a3c6f34b 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 #11 0x00007f59a3c6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f59a3c6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f59a3c6f34b 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:50 #14 0x00007f59a3c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f59a3c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f59a3c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #17 0x00007f59a3c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #18 0x00007f59a3c5109a clang::ento::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 0x00007f59a3f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f59a3f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f59a3f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #22 0x00007f59a3f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #23 0x00007f59a3f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #24 0x00007f59a3f4e0a7 llvm::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 0x00007f59a3f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x00007f59a3f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #27 0x00007f59a3f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x00007f59a3f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x00007f59a3f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x00007f59a3f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x00007f59a3f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x00007f59a230724a __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 0x00007f59a230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x00007f59a230724a void clang::finalize>, 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 0x00007f59a230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x00007f59a3a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #37 0x00007f59a39f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #38 0x00007f59a39f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #39 0x00007f59a39f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #40 0x00007f59a3a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #41 0x000055612e3c3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x000055612e3c770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x000055612e3c9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x000055612e3bd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x00007f599a63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #46 0x00007f599a63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #47 0x000055612e3bd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/suspicious-clones.cpp.script: line 1: 554012 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lambda.cpp (588 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f02403d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f02403ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f02403d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f023f454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0248e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0248e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0248e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0248e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0248e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0248e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0248e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0248e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0248ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0248ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0248ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0248ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0248ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0248ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0248ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0248ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0248ad4e65 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 #21 0x00007f0248ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0248ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0248ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0248ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0248ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0248ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0248ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0248ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0248ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0248ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0248ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0248ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0248ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0248ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0248ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0248ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0248ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0248ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0248a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0248a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0248a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0248a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0248a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f0248a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f0248a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f0248a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f0248a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f0248a0953e 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 #49 0x00007f0248a50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f0248a50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f0248a50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f0248a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f0248a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f0248a5149e 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 #55 0x00007f0248d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f0248d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f0248d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f0248d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f0248d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f0248d4e0a7 llvm::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 0x00007f0248d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f0248d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f0248d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f0248d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f0248d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f0248d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f0248d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f024710724a __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 0x00007f024710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f024710724a void clang::finalize>, 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 0x00007f024710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f0248844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f02487f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f02487f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f02487f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f02488948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000561a32f93a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000561a32f9770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000561a32f99440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000561a32f8d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f023f43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f023f43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000561a32f8d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/lambda.cpp.script: line 1: 553954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/not-autogenerated.cpp (589 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/not-autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7fb8dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7fb8dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7fb8dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7fb7e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7fc1835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7fc1835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7fc1835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7fc1835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7fc1835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7fc1835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7fc1835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7fc1835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7fc14d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7fc14d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7fc14d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7fc14d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7fc14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7fc14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7fc14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7fc14d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7fc14d4e65 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 #21 0x00007f7fc14d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7fc14d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7fc14d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7fc14b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7fc14b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7fc14b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7fc14d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7fc14d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7fc14d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7fc14e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7fc14e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7fc14e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7fc14e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7fc14e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7fc14e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7fc14e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7fc14e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7fc14e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7fc143da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7fc143da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7fc143da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7fc143da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7fc143df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7fc143df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7fc143df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7fc1497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7fc1497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7fc1497620 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 #49 0x00007f7fc1497620 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 #50 0x00007f7fc14977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f7fc14977b2 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 0x00007f7fc149dfaf clang::ento::ExprEngine::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 0x00007f7fc143fac2 clang::ento::CoreEngine::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 0x00007f7fc145109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f7fc145109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f7fc174c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f7fc174c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f7fc174c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f7fc174c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f7fc174c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f7fc174e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f7fc174e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f7fc174e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f7fc1751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f7fc1751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f7fc1751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f7fc1751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f7fc1751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f7fbfb0724a __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 0x00007f7fbfb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f7fbfb0724a void clang::finalize>, 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 0x00007f7fbfb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f7fc1244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f7fc11f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f7fc11f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f7fc11f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f7fc12948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005652def95a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005652def9970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005652def9b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005652def8f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f7fb7e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f7fb7e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005652def8f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/not-autogenerated.cpp.script: line 1: 553983 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/objc-methods.m (590 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/objc-methods.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd5761d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd5761ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd5761d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd575254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd57ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd57ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd57ec35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd57ec35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd57ec35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd57ec35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd57ec35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd57ec35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd57e8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd57e8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd57e8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd57e8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd57e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd57e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd57e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd57e8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd57e8d4e65 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 #21 0x00007fd57e8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd57e8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd57e8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd57e8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd57e8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd57e8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fd57e8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd57e8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd57e8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fd57e8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd57e8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd57e8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd57e8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd57e8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd57e8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd57e8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd57e8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd57e8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd57e83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd57e83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd57e83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd57e83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd57e83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fd57e83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fd57e83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fd57e80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fd57e80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fd57e80953e 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 #49 0x00007fd57e850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fd57e850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fd57e850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fd57e85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fd57e85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fd57e85149e 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 #55 0x00007fd57eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fd57eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fd57eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fd57eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fd57eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fd57eb4e0a7 llvm::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 0x00007fd57eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fd57eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fd57eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fd57eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fd57eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fd57eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fd57eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fd57cf0724a __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 0x00007fd57cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fd57cf0724a void clang::finalize>, 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 0x00007fd57cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fd57e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fd57e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fd57e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fd57e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fd57e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000562ab3240a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000562ab324470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000562ab3246440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000562ab323a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fd57523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fd57523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000562ab323a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/objc-methods.m.script: line 1: 553989 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/moc_autogenerated.cpp (591 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/moc_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f45c95d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f45c95ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f45c95d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f45c8654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f45d2035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f45d2035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f45d2035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f45d2035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f45d2035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f45d2035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f45d2035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f45d2035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f45d1cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f45d1cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f45d1cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f45d1cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f45d1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f45d1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f45d1cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f45d1cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f45d1cd4e65 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 #21 0x00007f45d1cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f45d1cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f45d1cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f45d1cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f45d1cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f45d1cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f45d1cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f45d1cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f45d1cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f45d1ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f45d1ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f45d1ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f45d1ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f45d1ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f45d1ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f45d1ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f45d1ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f45d1ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f45d1c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f45d1c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f45d1c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f45d1c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f45d1c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f45d1c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f45d1c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f45d1c97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f45d1c97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f45d1c97620 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 #49 0x00007f45d1c97620 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 #50 0x00007f45d1c977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f45d1c977b2 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 0x00007f45d1c9dfaf clang::ento::ExprEngine::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 0x00007f45d1c3fac2 clang::ento::CoreEngine::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 0x00007f45d1c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f45d1c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f45d1f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f45d1f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f45d1f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f45d1f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f45d1f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f45d1f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f45d1f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f45d1f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f45d1f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f45d1f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f45d1f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f45d1f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f45d1f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f45d030724a __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 0x00007f45d030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f45d030724a void clang::finalize>, 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 0x00007f45d030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f45d1a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f45d19f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f45d19f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f45d19f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f45d1a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000564b0f307a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000564b0f30b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000564b0f30d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000564b0f301903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f45c863ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f45c863f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000564b0f301945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/moc_autogenerated.cpp.script: line 1: 553984 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-diagnostics.cpp (592 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fbdacdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbdacdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbdacdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbdabe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbdb5835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbdb5835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbdb5835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbdb5835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbdb5835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbdb5835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbdb5835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbdb5835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbdb54d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbdb54d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbdb54d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbdb54d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbdb54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbdb54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbdb54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbdb54d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbdb54d4c2b 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 #21 0x00007fbdb54d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbdb54d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbdb54d4c2b (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:31 #24 0x00007fbdb54d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbdb54d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbdb54d6cdb 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 #27 0x00007fbdb54e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007fbdb54e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007fbdb54e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007fbdb54e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007fbdb54e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007fbdb54e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007fbdb54e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fbdb54e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fbdb54e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007fbdb543da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbdb543da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbdb543da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007fbdb543da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007fbdb5986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007fbdb5986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007fbdb5986b68 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 #43 0x00007fbdb5469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007fbdb5469db3 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 #45 0x00007fbdb5469db3 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 #46 0x00007fbdb549d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007fbdb549d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007fbdb549d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007fbdb549d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007fbdb549d93e clang::ento::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 #51 0x00007fbdb549dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007fbdb549df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007fbdb543fac2 clang::ento::CoreEngine::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 0x00007fbdb545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007fbdb545109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007fbdb574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fbdb574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fbdb574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fbdb574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fbdb574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fbdb574e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fbdb574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fbdb574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fbdb5751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fbdb5751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fbdb5751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fbdb5751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fbdb5751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fbdb3b0724a __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 0x00007fbdb3b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fbdb3b0724a void clang::finalize>, 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 0x00007fbdb3b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fbdb5244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fbdb51f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fbdb51f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fbdb51f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fbdb52948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055fc11051a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055fc1105570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055fc11057440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055fc1104b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fbdabe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fbdabe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055fc1104b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.script: line 2: 554002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/macro-complexity.cpp (593 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/macro-complexity.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f23175d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f23175ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f23175d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2316654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2320035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2320035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2320035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2320035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2320035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2320035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2320035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2320035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f231fcd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f231fcd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f231fcd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f231fcd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f231fcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f231fcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f231fcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f231fcd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f231fcd4c2b 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 #21 0x00007f231fcd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f231fcd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f231fcd4c2b (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:31 #24 0x00007f231fcd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f231fcd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f231fcd6cdb 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 #27 0x00007f231fce8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f231fce8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f231fce8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f231fce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f231fce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f231fce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f231fce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f231fce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f231fce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f231fc3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f231fc3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f231fc3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f231fc3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f2320186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f2320186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f2320186b68 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 #43 0x00007f231fc69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f231fc69db3 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 #45 0x00007f231fc69db3 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 #46 0x00007f231fc9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f231fc9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f231fc9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f231fc9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f231fc9d93e clang::ento::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 #51 0x00007f231fc9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f231fc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f231fc3fac2 clang::ento::CoreEngine::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 0x00007f231fc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f231fc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f231ff4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f231ff4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f231ff4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f231ff4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f231ff4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f231ff4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f231ff4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f231ff4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f231ff51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f231ff51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f231ff51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f231ff51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f231ff51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f231e30724a __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 0x00007f231e30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f231e30724a void clang::finalize>, 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 0x00007f231e30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f231fa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f231f9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f231f9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f231f9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f231fa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005557195a4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005557195a870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005557195aa440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055571959e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f231663ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f231663f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055571959e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/macro-complexity.cpp.script: line 1: 553953 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-diagnostics-notes-as-events.cpp (594 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f250b3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f250b3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f250b3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f250a454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2513e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2513e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2513e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2513e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2513e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2513e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2513e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2513e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2513ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2513ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2513ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2513ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2513ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2513ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2513ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2513ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2513ad4c2b 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 #21 0x00007f2513ad4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2513ad4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2513ad4c2b (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:31 #24 0x00007f2513ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2513ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2513ad6cdb 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 #27 0x00007f2513ae8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f2513ae8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f2513ae8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f2513ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f2513ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f2513ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f2513ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f2513ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f2513ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f2513a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2513a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2513a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f2513a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f2513f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f2513f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f2513f86b68 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 #43 0x00007f2513a69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f2513a69db3 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 #45 0x00007f2513a69db3 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 #46 0x00007f2513a9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f2513a9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f2513a9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f2513a9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f2513a9d93e clang::ento::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 #51 0x00007f2513a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f2513a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f2513a3fac2 clang::ento::CoreEngine::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 0x00007f2513a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f2513a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f2513d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f2513d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f2513d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f2513d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f2513d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f2513d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f2513d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f2513d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f2513d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f2513d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f2513d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f2513d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f2513d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f251210724a __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 0x00007f251210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f251210724a void clang::finalize>, 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 0x00007f251210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f2513844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f25137f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f25137f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f25137f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f25138948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000556d4aeeda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000556d4aef170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000556d4aef3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000556d4aee7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f250a43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f250a43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000556d4aee7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.script: line 2: 553998 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/sub-sequences.cpp (595 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/sub-sequences.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f94d1fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f94d1fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f94d1fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f94d1054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f94daa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f94daa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f94daa35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f94daa35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f94daa35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f94daa35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f94daa35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f94daa35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f94da6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f94da6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f94da6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f94da6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f94da6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f94da6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f94da6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f94da6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f94da6d4c2b 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 #21 0x00007f94da6d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f94da6d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f94da6d4c2b (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:31 #24 0x00007f94da6d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f94da6d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f94da6d6cdb 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 #27 0x00007f94da6e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f94da6e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f94da6e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f94da6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f94da6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f94da6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f94da6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f94da6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f94da6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f94da63da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f94da63da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f94da63da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f94da63da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f94dab86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f94dab86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f94dab86b68 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 #43 0x00007f94da669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f94da669db3 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 #45 0x00007f94da669db3 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 #46 0x00007f94da69d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f94da69d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f94da69d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f94da69d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f94da69d93e clang::ento::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 #51 0x00007f94da69dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f94da69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f94da63fac2 clang::ento::CoreEngine::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 0x00007f94da65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f94da65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f94da94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f94da94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f94da94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f94da94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f94da94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f94da94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f94da94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f94da94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f94da951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f94da951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f94da951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f94da951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f94da951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f94d8d0724a __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 0x00007f94d8d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f94d8d0724a void clang::finalize>, 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 0x00007f94d8d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f94da444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f94da3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f94da3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f94da3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f94da4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005566900c2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005566900c670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005566900c8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005566900bc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f94d103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f94d103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005566900bc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/sub-sequences.cpp.script: line 1: 554005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/text-diagnostics.cpp (596 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/text-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fee4c5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fee4c5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fee4c5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fee4b654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fee55035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fee55035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fee55035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fee55035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fee55035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fee55035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fee55035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fee55035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fee54cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fee54cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fee54cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fee54cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fee54cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fee54cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fee54cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fee54cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fee54cd4c2b 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 #21 0x00007fee54cd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fee54cd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fee54cd4c2b (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:31 #24 0x00007fee54cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fee54cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fee54cd6cdb 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 #27 0x00007fee54ce8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007fee54ce8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007fee54ce8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007fee54ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007fee54ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007fee54ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007fee54ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fee54ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fee54ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007fee54c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fee54c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fee54c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007fee54c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007fee55186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007fee55186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007fee55186b68 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 #43 0x00007fee54c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007fee54c69db3 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 #45 0x00007fee54c69db3 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 #46 0x00007fee54c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007fee54c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007fee54c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007fee54c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007fee54c9d93e clang::ento::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 #51 0x00007fee54c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007fee54c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007fee54c3fac2 clang::ento::CoreEngine::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 0x00007fee54c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007fee54c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007fee54f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fee54f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fee54f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fee54f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fee54f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fee54f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fee54f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fee54f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fee54f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fee54f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fee54f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fee54f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fee54f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fee5330724a __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 0x00007fee5330724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fee5330724a void clang::finalize>, 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 0x00007fee5330724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fee54a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fee549f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fee549f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fee549f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fee54a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055df00401a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055df0040570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055df00407440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055df003fb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fee4b63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fee4b63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055df003fb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/text-diagnostics.cpp.script: line 1: 554027 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/copypaste/ui_autogenerated.cpp (597 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/ui_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff9769d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff9769ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff9769d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff975a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff97f435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff97f435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff97f435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff97f435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff97f435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff97f435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff97f435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff97f435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff97f0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff97f0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff97f0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff97f0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff97f0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff97f0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff97f0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff97f0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff97f0d4e65 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 #21 0x00007ff97f0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff97f0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff97f0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff97f0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff97f0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff97f0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff97f0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff97f0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff97f0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff97f0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff97f0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff97f0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff97f0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff97f0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff97f0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff97f0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff97f0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff97f0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff97f03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff97f03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff97f03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff97f03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff97f03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff97f03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff97f03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff97f097620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff97f097620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff97f097620 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 #49 0x00007ff97f097620 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 #50 0x00007ff97f0977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007ff97f0977b2 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 0x00007ff97f09dfaf clang::ento::ExprEngine::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 0x00007ff97f03fac2 clang::ento::CoreEngine::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 0x00007ff97f05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007ff97f05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007ff97f34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007ff97f34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007ff97f34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007ff97f34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007ff97f34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007ff97f34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007ff97f34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007ff97f34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007ff97f351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007ff97f351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007ff97f351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007ff97f351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007ff97f351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007ff97d70724a __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 0x00007ff97d70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007ff97d70724a void clang::finalize>, 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 0x00007ff97d70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007ff97ee44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007ff97edf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007ff97edf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007ff97edf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007ff97ee948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055861e4a8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055861e4ac70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055861e4ae440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055861e4a2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007ff975a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007ff975a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055861e4a2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/ui_autogenerated.cpp.script: line 1: 554041 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cstring-syntax-cxx.cpp (598 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-cxx.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff6ab5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff6ab5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff6ab5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff6aa654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff6b3c6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007ff6b3c6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff6b3c6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff6b3c6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff6b3c6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff6b3c6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff6b3c6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007ff6b3c6f83e 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 0x00007ff6b3c725b9 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 0x00007ff6b3c725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007ff6b3c725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007ff6b3c725b9 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 #16 0x00007ff6b3c727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007ff6b3c727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007ff6b3c727ab 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 #19 0x00007ff6b3c99d0e 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 #20 0x00007ff6b3c9c69e 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 #21 0x00007ff6b3c9c69e clang::ento::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 #22 0x00007ff6b3c9dc4e clang::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 0x00007ff6b3c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff6b3c3fac2 clang::ento::CoreEngine::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 0x00007ff6b3c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007ff6b3c5109a clang::ento::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 0x00007ff6b3f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007ff6b3f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007ff6b3f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007ff6b3f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007ff6b3f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007ff6b3f4e0a7 llvm::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 0x00007ff6b3f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007ff6b3f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007ff6b3f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007ff6b3f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007ff6b3f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007ff6b3f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007ff6b3f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007ff6b230724a __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 0x00007ff6b230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007ff6b230724a void clang::finalize>, 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 0x00007ff6b230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007ff6b3a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007ff6b39f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007ff6b39f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007ff6b39f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007ff6b3a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x0000563c75af5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000563c75af970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000563c75afb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000563c75aef903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007ff6aa63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007ff6aa63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x0000563c75aef945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-cxx.cpp.script: line 1: 554075 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/coverage.c (600 of 19712) ******************** TEST 'Clang :: Analysis/coverage.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6bdd1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6bdd1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6bdd1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6bdc254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6be5c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6be5c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6be5c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6be5c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6be5c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6be5c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6be5c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6be5c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6be58d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6be58d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6be58d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6be58d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6be58d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6be58d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6be58d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6be58d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6be58d4e65 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 #21 0x00007f6be58d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6be58d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6be58d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6be58b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6be58b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6be58b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6be58d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6be58d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6be58d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6be58e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6be58e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6be58e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6be58e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6be58e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6be58e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6be58e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6be58e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6be58e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6be583da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6be583da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6be583da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6be583da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6be5d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6be5d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6be5d86b68 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 #46 0x00007f6be597f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f6be597f794 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:0 #48 0x00007f6be597f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f6be597f794 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:0 #50 0x00007f6be581b7ad 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:5 #51 0x00007f6be5868471 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 #52 0x00007f6be5868471 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 #53 0x00007f6be5869840 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 #54 0x00007f6be5869840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f6be5869840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f6be5869840 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 #57 0x00007f6be5877a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f6be5877a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f6be5877a6a 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:15 #60 0x00007f6be589bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f6be589bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f6be589bf62 clang::ento::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 #63 0x00007f6be589dc4e clang::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 0x00007f6be589df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f6be583fac2 clang::ento::CoreEngine::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 0x00007f6be585109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f6be585109a clang::ento::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 0x00007f6be5b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f6be5b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f6be5b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f6be5b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f6be5b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f6be5b4e0a7 llvm::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 0x00007f6be5b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f6be5b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f6be5b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f6be5b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f6be5b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f6be5b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f6be5b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f6be3f0724a __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 0x00007f6be3f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f6be3f0724a void clang::finalize>, 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 0x00007f6be3f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f6be5644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f6be55f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f6be55f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f6be55f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f6be56948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x00005651ee3e5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x00005651ee3e970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x00005651ee3eb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x00005651ee3df903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f6bdc23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f6bdc23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x00005651ee3df945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/coverage.c.script: line 1: 554043 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ctor-array.cpp (601 of 19712) ******************** TEST 'Clang :: Analysis/ctor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007febf97d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007febf97ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007febf97d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007febf8854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fec01e6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fec01e6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fec01e6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fec01e6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fec01e6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fec01e6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fec01e6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fec01e6efd6 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 0x00007fec01e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fec01e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fec01e3f9ea 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 #15 0x00007fec01e3fb9e 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:223:0 #16 0x00007fec01e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fec01e5109a clang::ento::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 0x00007fec0214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fec0214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fec0214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fec0214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fec0214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fec0214e0a7 llvm::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 0x00007fec0214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fec0214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fec02151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fec02151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fec02151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fec02151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fec02151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fec0050724a __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 0x00007fec0050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fec0050724a void clang::finalize>, 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 0x00007fec0050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fec01c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fec01bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fec01bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fec01bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fec01c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x00005629ace0da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x00005629ace1170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x00005629ace13440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x00005629ace07903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007febf883ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007febf883f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x00005629ace07945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-array.cpp.script: line 1: 554104 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-trivial-copy.cpp (602 of 19712) ******************** TEST 'Clang :: Analysis/ctor-trivial-copy.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f96559d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f96559ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f96559d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f965f124ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f965e07d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f965e07d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f965e07d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f965e07d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f965e07d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f965e07d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f965e07d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f965e07d99e 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 0x00007f965e03ed11 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 0x00007f965e03fc1e 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 0x00007f965e05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f965e05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f965e34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f965e34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f965e34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f965e34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f965e34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f965e34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f965e34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f965e34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f965e351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f965e351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f965e351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f965e351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f965e351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f965c70724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f965c70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f965c70724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f965c70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f965de44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f965ddf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f965ddf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f965ddf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f965de948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000561896df8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000561896dfc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000561896dfe440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000561896df2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f965f10ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f965f10f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000561896df2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-trivial-copy.cpp.script: line 1: 554124 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cstring-plist.c (603 of 19712) ******************** TEST 'Clang :: Analysis/cstring-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f189b3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f189b3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f189b3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f189a454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f18a3e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f18a3e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f18a3e14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f18a3e14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f18a3e14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f18a3e14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f18a3e14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f18a3e14a5e (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 0x00007f18a3be8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f18a3be8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f18a3be8fd5 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 0x00007f18a3a2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f18a3a2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f18a3a2397a 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:29 #18 0x00007f18a3a2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f18a3ae8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f18a3ae8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f18a3ae8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f18a3ae8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f18a3ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f18a3ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f18a3ae9060 clang::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 0x00007f18a3a3db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f18a3a3db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f18a3a3db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f18a3a3db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f18a3f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f18a3f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f18a3f86b68 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 0x00007f18a3c15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f18a3c15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f18a3c15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f18a3c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f18a3c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f18a3c15ff0 (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 0x00007f18a3c1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f18a3c1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f18a3c1647b (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 0x00007f18a3c1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f18a3c1851b 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 0x00007f18a3a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f18a3a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f18a3a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f18a3a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f18a3a2561d 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:26 #49 0x00007f18a3a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f18a3a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f18a3a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f18a3a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f18a3a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f18a3a7ecbc 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:0 #55 0x00007f18a3a7f767 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:0 #56 0x00007f18a3a9c6f1 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 0x00007f18a3a9c6f1 clang::ento::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 0x00007f18a3a9dc4e clang::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 0x00007f18a3a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f18a3a3fac2 clang::ento::CoreEngine::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 0x00007f18a3a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f18a3a5109a clang::ento::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 0x00007f18a3d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f18a3d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f18a3d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f18a3d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f18a3d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f18a3d4e0a7 llvm::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 0x00007f18a3d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f18a3d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f18a3d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f18a3d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f18a3d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f18a3d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f18a3d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f18a210724a __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 0x00007f18a210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f18a210724a void clang::finalize>, 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 0x00007f18a210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f18a3844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f18a37f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f18a37f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f18a37f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f18a38948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x0000556cdbcb9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000556cdbcbd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000556cdbcbf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000556cdbcb3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f189a43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f189a43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x0000556cdbcb3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.script: line 3: 554054 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/ctor-bug-path.cpp (604 of 19712) ******************** TEST 'Clang :: Analysis/ctor-bug-path.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff6aabd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff6aabceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff6aabd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff6a9c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff6b326f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007ff6b326f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff6b326f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff6b326f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff6b326f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff6b326f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff6b326f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007ff6b326f83e 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 0x00007ff6b32725b9 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 0x00007ff6b32725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007ff6b32725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007ff6b32725b9 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 #16 0x00007ff6b32727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007ff6b32727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007ff6b32727ab 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 #19 0x00007ff6b3299d0e 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 #20 0x00007ff6b329c69e 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 #21 0x00007ff6b329c69e clang::ento::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 #22 0x00007ff6b329dc4e clang::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 0x00007ff6b329df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff6b323fac2 clang::ento::CoreEngine::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 0x00007ff6b325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007ff6b325109a clang::ento::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 0x00007ff6b354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007ff6b354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007ff6b354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007ff6b354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007ff6b354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007ff6b354e0a7 llvm::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 0x00007ff6b354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007ff6b354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007ff6b3551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007ff6b3551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007ff6b3551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007ff6b3551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007ff6b3551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007ff6b190724a __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 0x00007ff6b190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007ff6b190724a void clang::finalize>, 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 0x00007ff6b190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007ff6b3044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007ff6b2ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007ff6b2ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007ff6b2ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007ff6b30948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x00005639c9076a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x00005639c907a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x00005639c907c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x00005639c9070903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007ff6a9c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007ff6a9c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x00005639c9070945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-bug-path.cpp.script: line 2: 554117 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cstring-syntax.c (605 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f70203d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f70203ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f70203d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f701f454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7028e184e1 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7028e184e1 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7028e184e1 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7028e184e1 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7028e184e1 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7028e184e1 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 0x00007f7028e184e1 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7028e184e1 (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 0x00007f7028b022cf llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f7028b022cf llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f7028b022cf 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 0x00007f7028a2370b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f7028a2370b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f7028a2370b 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:29 #18 0x00007f7028a2370b 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:33 #19 0x00007f7028ab8a09 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007f7028ab8a09 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007f7028ab8a09 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:68 #22 0x00007f7028ab8a09 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:58 #23 0x00007f7028ab8d0e llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x00007f7028ab8d0e llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x00007f7028ab8d0e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #26 0x00007f7028ab8d0e 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:1 #27 0x00007f7028f92319 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #28 0x00007f7028f92319 clang::ento::RegionAndSymbolInvalidationTraits::~RegionAndSymbolInvalidationTraits() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:1624:0 #29 0x00007f7028f92319 (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:0 #30 0x00007f7028b01f05 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f7028b01f05 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f7028b01f05 (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 0x00007f7028b1e5b3 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7028b1e5b3 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7028b1e5b3 (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:0 #36 0x00007f7028b203cd (anonymous namespace)::CStringChecker::evalStrlcpy(clang::ento::CheckerContext&, clang::CallExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1659:0 #37 0x00007f7028b0e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x00007f7028b0e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #39 0x00007f7028b0e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #40 0x00007f7028b0e6c9 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:0 #41 0x00007f7028a3cd48 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 #42 0x00007f7028a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #43 0x00007f7028a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #44 0x00007f7028a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #45 0x00007f7028a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #46 0x00007f7028a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #47 0x00007f7028a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #48 0x00007f7028a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #49 0x00007f7028a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #50 0x00007f7028a7eb8e 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:695:0 #51 0x00007f7028a7f767 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:0 #52 0x00007f7028a9c6f1 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 #53 0x00007f7028a9c6f1 clang::ento::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 #54 0x00007f7028a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f7028a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f7028a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f7028a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f7028a5109a clang::ento::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 0x00007f7028d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f7028d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f7028d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f7028d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f7028d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f7028d4e0a7 llvm::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 0x00007f7028d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f7028d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f7028d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f7028d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f7028d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f7028d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f7028d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f702710724a __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 0x00007f702710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f702710724a void clang::finalize>, 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 0x00007f702710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f7028844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f70287f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f70287f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f70287f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f70288948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000564151ac2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000564151ac670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000564151ac8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000564151abc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f701f43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f701f43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000564151abc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax.c.script: line 4: 554093 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cstring-syntax-weird.c (606 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5361fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5361fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5361fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5361054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f536aa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f536aa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f536aa35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f536aa35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f536aa35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f536aa35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f536aa35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f536aa35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f536a6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f536a6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f536a6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f536a6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f536a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f536a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f536a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f536a6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f536a6d4e65 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 #21 0x00007f536a6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f536a6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f536a6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f536a6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f536a6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f536a6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f536a6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f536a6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f536a6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f536a6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f536a6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f536a6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f536a6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f536a6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f536a6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f536a6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f536a6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f536a6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f536a63da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f536a63da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f536a63da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f536a63da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f536ab9250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f536ab9250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f536ab9250c 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 #46 0x00007f536ab9250c (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 #47 0x00007f536ab925d6 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x00007f536ab925d6 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:25 #49 0x00007f536ab925d6 (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 #50 0x00007f536a71d8c6 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x00007f536a71d8c6 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x00007f536a71d8c6 (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:0 #53 0x00007f536a7203cd (anonymous namespace)::CStringChecker::evalStrlcpy(clang::ento::CheckerContext&, clang::CallExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1659:0 #54 0x00007f536a70e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #55 0x00007f536a70e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #56 0x00007f536a70e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #57 0x00007f536a70e6c9 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:0 #58 0x00007f536a63cd48 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 #59 0x00007f536a67eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #60 0x00007f536a67eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #61 0x00007f536a67eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #62 0x00007f536a67eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #63 0x00007f536a67eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #64 0x00007f536a67eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #65 0x00007f536a67eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #66 0x00007f536a67eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #67 0x00007f536a67eb8e 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:695:0 #68 0x00007f536a67f767 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:0 #69 0x00007f536a69c6f1 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 #70 0x00007f536a69c6f1 clang::ento::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 #71 0x00007f536a69dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #72 0x00007f536a69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #73 0x00007f536a63fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #74 0x00007f536a65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #75 0x00007f536a65109a clang::ento::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 0x00007f536a94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #77 0x00007f536a94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #78 0x00007f536a94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #79 0x00007f536a94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #80 0x00007f536a94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #81 0x00007f536a94e0a7 llvm::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 0x00007f536a94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x00007f536a94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #84 0x00007f536a951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x00007f536a951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x00007f536a951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x00007f536a951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x00007f536a951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x00007f5368d0724a __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 0x00007f5368d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x00007f5368d0724a void clang::finalize>, 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 0x00007f5368d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x00007f536a444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #94 0x00007f536a3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #95 0x00007f536a3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #96 0x00007f536a3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #97 0x00007f536a4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #98 0x0000561435b08a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000561435b0c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000561435b0e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000561435b02903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x00007f536103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #103 0x00007f536103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #104 0x0000561435b02945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird.c.script: line 1: 554079 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ctor.mm (608 of 19712) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc92fbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc92fbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc92fbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc92ec54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc938635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc938635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc938635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc938635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc938635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc938635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc938635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc938635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc9382d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc9382d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc9382d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc9382d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc9382d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc9382d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc9382d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc9382d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc9382d4e65 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 #21 0x00007fc9382d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc9382d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc9382d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc9382b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc9382b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc9382b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc9382d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc9382d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc9382d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc9382e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc9382e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc9382e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc9382e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc9382e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc9382e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc9382e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc9382e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc9382e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc93823da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc93823da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc93823da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc93823da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc93823df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc93823df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc93823df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fc93820953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fc93820953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fc93820953e 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 #49 0x00007fc938250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fc938250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fc938250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fc93825149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fc93825149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fc93825149e 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 #55 0x00007fc93854c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fc93854c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fc93854c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fc93854c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fc93854c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fc93854e0a7 llvm::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 0x00007fc93854e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fc93854e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fc938551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fc938551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fc938551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fc938551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fc938551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fc93690724a __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 0x00007fc93690724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fc93690724a void clang::finalize>, 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 0x00007fc93690724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fc938044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fc937ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fc937ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fc937ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fc9380948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005562ad41da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005562ad42170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005562ad423440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005562ad417903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fc92ec3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fc92ec3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005562ad417945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor.mm.script: line 4: 554141 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cstring-syntax-weird2.c (611 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f65255d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f65255ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f65255d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6524654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f652e035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f652e035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f652e035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f652e035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f652e035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f652e035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f652e035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f652e035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f652dcd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f652dcd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f652dcd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f652dcd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f652dcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f652dcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f652dcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f652dcd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f652dcd4e65 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 #21 0x00007f652dcd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f652dcd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f652dcd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f652dcb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f652dcb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f652dcb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f652dcd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f652dcd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f652dcd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f652dce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f652dce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f652dce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f652dce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f652dce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f652dce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f652dce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f652dce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f652dce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f652dc3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f652dc3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f652dc3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f652dc3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f652e19250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f652e19250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f652e19250c 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 #46 0x00007f652e19250c (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 #47 0x00007f652e1925d6 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x00007f652e1925d6 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:25 #49 0x00007f652e1925d6 (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 #50 0x00007f652dd1d8c6 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x00007f652dd1d8c6 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x00007f652dd1d8c6 (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:0 #53 0x00007f652dd203cd (anonymous namespace)::CStringChecker::evalStrlcpy(clang::ento::CheckerContext&, clang::CallExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1659:0 #54 0x00007f652dd0e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #55 0x00007f652dd0e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #56 0x00007f652dd0e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #57 0x00007f652dd0e6c9 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:0 #58 0x00007f652dc3cd48 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 #59 0x00007f652dc7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #60 0x00007f652dc7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #61 0x00007f652dc7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #62 0x00007f652dc7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #63 0x00007f652dc7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #64 0x00007f652dc7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #65 0x00007f652dc7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #66 0x00007f652dc7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #67 0x00007f652dc7eb8e 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:695:0 #68 0x00007f652dc7f767 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:0 #69 0x00007f652dc9c6f1 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 #70 0x00007f652dc9c6f1 clang::ento::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 #71 0x00007f652dc9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #72 0x00007f652dc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #73 0x00007f652dc3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #74 0x00007f652dc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #75 0x00007f652dc5109a clang::ento::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 0x00007f652df4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #77 0x00007f652df4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #78 0x00007f652df4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #79 0x00007f652df4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #80 0x00007f652df4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #81 0x00007f652df4e0a7 llvm::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 0x00007f652df4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x00007f652df4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #84 0x00007f652df51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x00007f652df51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x00007f652df51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x00007f652df51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x00007f652df51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x00007f652c30724a __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 0x00007f652c30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x00007f652c30724a void clang::finalize>, 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 0x00007f652c30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x00007f652da44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #94 0x00007f652d9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #95 0x00007f652d9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #96 0x00007f652d9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #97 0x00007f652da948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #98 0x000055e04e445a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x000055e04e44970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x000055e04e44b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x000055e04e43f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x00007f652463ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #103 0x00007f652463f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #104 0x000055e04e43f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird2.c.script: line 1: 554083 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ctu-on-demand-parsing.cpp (615 of 19712) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp"], "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5281bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5281bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5281bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5280c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f528a27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f528a27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f528a27d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f528a27d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f528a27d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f528a27d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f528a27d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f528a27d99e 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 0x00007f528a23ed11 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 0x00007f528a23fc1e 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 0x00007f528a25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f528a25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f528a54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f528a54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f528a54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f528a54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f528a54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f528a54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f528a54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f528a54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f528a551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f528a551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f528a551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f528a551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f528a551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f528890724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f528890724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f528890724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f528890724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f528a044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f5289ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f5289ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f5289ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f528a0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000056094bdc3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000056094bdc770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000056094bdc9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000056094bdbd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f5280c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f5280c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000056094bdbd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.script: line 11: 554279 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-implicit.c (616 of 19712) ******************** TEST 'Clang :: Analysis/ctu-implicit.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f2728dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2728dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2728dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2727e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2731835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2731835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2731835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2731835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2731835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2731835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2731835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2731835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f27314d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f27314d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f27314d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f27314d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f27314d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f27314d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f27314d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f27314d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f27314d4e65 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 #21 0x00007f27314d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f27314d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f27314d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f27314b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f27314b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f27314b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f27314d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f27314d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f27314d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f27314e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f27314e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f27314e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f27314e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f27314e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f27314e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f27314e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f27314e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f27314e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f273143da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f273143da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f273143da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f273143da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f273198e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f273198e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f273198e15d 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 #46 0x00007f273198e15d 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 #47 0x00007f2731588a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f2731588a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f2731588a58 (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 #50 0x00007f27315aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f27315aaac1 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:48 #52 0x00007f273143cd48 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 #53 0x00007f273147eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f273147eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f273147eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f273147eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f273147eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f273147eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f273147eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f273147eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f273147eb8e 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:695:0 #62 0x00007f273147f767 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:0 #63 0x00007f273149c6f1 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 0x00007f273149c6f1 clang::ento::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 0x00007f273149dc4e clang::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 0x00007f273149df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f273143fac2 clang::ento::CoreEngine::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 0x00007f273145109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f273145109a clang::ento::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 0x00007f273174c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f273174c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f273174c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f273174c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f273174c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f273174e0a7 llvm::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 0x00007f273174e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f273174e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f2731751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f2731751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f2731751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f2731751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f2731751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f272fb0724a __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 0x00007f272fb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f272fb0724a void clang::finalize>, 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 0x00007f272fb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f2731244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f27311f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f27311f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f27311f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f27312948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x00005565b0ebba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x00005565b0ebf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x00005565b0ec1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x00005565b0eb5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f2727e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f2727e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x00005565b0eb5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.script: line 5: 554195 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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-onego-indirect.cpp (621 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-indirect.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.script: line 6: 554282 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 554283 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.c (622 of 19712) ******************** TEST 'Clang :: Analysis/ctu-main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f4c1fbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4c1fbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4c1fbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4c1ec54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4c28635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4c28635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4c28635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4c28635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4c28635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4c28635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4c28635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4c28635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4c282d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4c282d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4c282d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4c282d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4c282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4c282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4c282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4c282d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4c282d4e65 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 #21 0x00007f4c282d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4c282d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4c282d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4c282b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4c282b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4c282b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4c282d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4c282d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4c282d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4c282e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4c282e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4c282e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4c282e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4c282e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4c282e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4c282e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4c282e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4c282e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4c2823da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4c2823da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4c2823da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4c2823da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4c2878e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4c2878e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4c2878e15d 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 #46 0x00007f4c2878e15d 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 #47 0x00007f4c28388a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f4c28388a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f4c28388a58 (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 #50 0x00007f4c283aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f4c283aaac1 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:48 #52 0x00007f4c2823cd48 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 #53 0x00007f4c2827eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f4c2827eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f4c2827eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f4c2827eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f4c2827eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f4c2827eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f4c2827eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f4c2827eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f4c2827eb8e 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:695:0 #62 0x00007f4c2827f767 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:0 #63 0x00007f4c2829c6f1 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 0x00007f4c2829c6f1 clang::ento::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 0x00007f4c2829dc4e clang::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 0x00007f4c2829df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f4c2823fac2 clang::ento::CoreEngine::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 0x00007f4c2825109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f4c2825109a clang::ento::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 0x00007f4c2854c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f4c2854c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f4c2854c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f4c2854c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f4c2854c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f4c2854e0a7 llvm::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 0x00007f4c2854e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f4c2854e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f4c28551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f4c28551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f4c28551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f4c28551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f4c28551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f4c2690724a __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 0x00007f4c2690724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f4c2690724a void clang::finalize>, 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 0x00007f4c2690724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f4c28044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f4c27ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f4c27ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f4c27ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f4c280948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x0000560991f44a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000560991f4870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000560991f4a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000560991f3e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f4c1ec3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f4c1ec3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000560991f3e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.script: line 6: 554258 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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.c (623 of 19712) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1955bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1955bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1955bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1954c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f195e635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f195e635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f195e635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f195e635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f195e635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f195e635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f195e635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f195e635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f195e2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f195e2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f195e2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f195e2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f195e2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f195e2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f195e2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f195e2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f195e2d4e65 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 #21 0x00007f195e2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f195e2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f195e2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f195e2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f195e2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f195e2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f195e2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f195e2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f195e2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f195e2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f195e2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f195e2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f195e2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f195e2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f195e2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f195e2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f195e2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f195e2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f195e23da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f195e23da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f195e23da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f195e23da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f195e786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f195e786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f195e786b68 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 #46 0x00007f195e269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f195e269db3 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 #48 0x00007f195e269db3 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 #49 0x00007f195e29d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f195e29d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f195e29d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f195e29d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f195e29d93e clang::ento::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 #54 0x00007f195e29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f195e29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f195e23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f195e25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f195e25109a clang::ento::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 0x00007f195e54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f195e54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f195e54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f195e54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f195e54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f195e54e0a7 llvm::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 0x00007f195e54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f195e54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f195e551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f195e551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f195e551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f195e551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f195e551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f195c90724a __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 0x00007f195c90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f195c90724a void clang::finalize>, 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 0x00007f195c90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f195e044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f195dff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f195dff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f195dff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f195e0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000559a33222a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000559a3322670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000559a33228440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000559a3321c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1954c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1954c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000559a3321c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.script: line 8: 554275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-toplevel.cpp (624 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-toplevel.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f21acdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f21acdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f21acdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f21abe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f21b5835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f21b5835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f21b5835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f21b5835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f21b5835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f21b5835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f21b5835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f21b5835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f21b54d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f21b54d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f21b54d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f21b54d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f21b54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f21b54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f21b54d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f21b54d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f21b54d4e65 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 #21 0x00007f21b54d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f21b54d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f21b54d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f21b54b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f21b54b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f21b54b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f21b54d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f21b54d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f21b54d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f21b54e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f21b54e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f21b54e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f21b54e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f21b54e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f21b54e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f21b54e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f21b54e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f21b54e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f21b543da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f21b543da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f21b543da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f21b543da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f21b5986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f21b5986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f21b5986b68 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 #46 0x00007f21b546bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f21b546bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f21b546bf90 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 #49 0x00007f21b546bf90 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 #50 0x00007f21b546bf90 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 #51 0x00007f21b546bf90 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 #52 0x00007f21b546bf90 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 #53 0x00007f21b546bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f21b546bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f21b546bf90 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 #56 0x00007f21b543f21a 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:0 #57 0x00007f21b545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f21b545109a clang::ento::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 0x00007f21b574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f21b574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f21b574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f21b574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f21b574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f21b574e0a7 llvm::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 0x00007f21b574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f21b574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f21b5751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f21b5751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f21b5751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f21b5751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f21b5751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f21b3b0724a __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 0x00007f21b3b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f21b3b0724a void clang::finalize>, 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 0x00007f21b3b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f21b5244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f21b51f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f21b51f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f21b51f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f21b52948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000556716a8ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000556716a9070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000556716a92440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000556716a86903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f21abe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f21abe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000556716a86945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.script: line 6: 554324 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/ctu-main.cpp (625 of 19712) ******************** TEST 'Clang :: Analysis/ctu-main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f3cc0fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3cc0fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3cc0fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3cc0054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3cc9a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3cc9a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3cc9a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3cc9a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3cc9a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3cc9a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3cc9a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3cc9a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3cc96d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3cc96d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3cc96d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3cc96d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3cc96d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3cc96d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3cc96d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3cc96d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3cc96d4e65 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 #21 0x00007f3cc96d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3cc96d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3cc96d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3cc96b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3cc96b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3cc96b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3cc96d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3cc96d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3cc96d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3cc96e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3cc96e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3cc96e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3cc96e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3cc96e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3cc96e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3cc96e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3cc96e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3cc96e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3cc963da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3cc963da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3cc963da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3cc963da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3cc9b8e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3cc9b8e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3cc9b8e15d 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 #46 0x00007f3cc9b8e15d 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 #47 0x00007f3cc9788a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f3cc9788a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f3cc9788a58 (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 #50 0x00007f3cc97aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f3cc97aaac1 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:48 #52 0x00007f3cc963cd48 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 #53 0x00007f3cc967eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f3cc967eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f3cc967eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f3cc967eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f3cc967eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f3cc967eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f3cc967eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f3cc967eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f3cc967eb8e 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:695:0 #62 0x00007f3cc967f767 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:0 #63 0x00007f3cc969c6f1 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 0x00007f3cc969c6f1 clang::ento::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 0x00007f3cc969dc4e clang::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 0x00007f3cc969df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f3cc963fac2 clang::ento::CoreEngine::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 0x00007f3cc965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f3cc965109a clang::ento::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 0x00007f3cc994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f3cc994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f3cc994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f3cc994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f3cc994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f3cc994e0a7 llvm::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 0x00007f3cc994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f3cc994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f3cc9951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f3cc9951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f3cc9951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f3cc9951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f3cc9951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f3cc7d0724a __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 0x00007f3cc7d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f3cc7d0724a void clang::finalize>, 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 0x00007f3cc7d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f3cc9444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f3cc93f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f3cc93f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f3cc93f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f3cc94948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x0000563f6296ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000563f6297270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000563f62974440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000563f62968903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f3cc003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f3cc003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000563f62968945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.script: line 8: 554278 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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-small.cpp (626 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-small.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f23793d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f23793ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f23793d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2378454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2381e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2381e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2381e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2381e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2381e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2381e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2381e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2381e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2381ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2381ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2381ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2381ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2381ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2381ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2381ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2381ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2381ad4e65 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 #21 0x00007f2381ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2381ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2381ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2381ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2381ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2381ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2381ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2381ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2381ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2381ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2381ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2381ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2381ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2381ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2381ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2381ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2381ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2381ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2381a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2381a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2381a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2381a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2381f8e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2381f8e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2381f8e15d 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 #46 0x00007f2381f8e15d 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 #47 0x00007f2381b88a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f2381b88a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f2381b88a58 (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 #50 0x00007f2381baaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f2381baaac1 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:48 #52 0x00007f2381a3cd48 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 #53 0x00007f2381a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f2381a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f2381a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f2381a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f2381a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f2381a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f2381a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f2381a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f2381a7eb8e 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:695:0 #62 0x00007f2381a7f767 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:0 #63 0x00007f2381a9c6f1 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 0x00007f2381a9c6f1 clang::ento::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 0x00007f2381a9dc4e clang::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 0x00007f2381a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f2381a3fac2 clang::ento::CoreEngine::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 0x00007f2381a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f2381a5109a clang::ento::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 0x00007f2381d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f2381d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f2381d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f2381d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f2381d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f2381d4e0a7 llvm::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 0x00007f2381d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f2381d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f2381d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f2381d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f2381d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f2381d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f2381d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f238010724a __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 0x00007f238010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f238010724a void clang::finalize>, 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 0x00007f238010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f2381844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f23817f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f23817f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f23817f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f23818948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000055594580aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000055594580e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000555945810440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000555945804903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f237843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f237843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000555945804945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.script: line 7: 554327 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/cxx-dynamic-memory-analysis-order.cpp (627 of 19712) ******************** TEST 'Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f92b17d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x00007f92b17ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x00007f92b17d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #3 0x00007f92b0854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #4 0x00007f92ba235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-crashes.cpp (628 of 19712) ******************** TEST 'Clang :: Analysis/cxx-crashes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa4effd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa4effceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa4effd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa4ef054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa4f8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa4f8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa4f8a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa4f8a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa4f8a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa4f8a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa4f8a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa4f8a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa4f86d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa4f86d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa4f86d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa4f86d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa4f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa4f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa4f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa4f86d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa4f86d4e65 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 #21 0x00007fa4f86d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa4f86d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa4f86d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa4f86d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa4f86d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa4f86d6cdb 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 #27 0x00007fa4f86d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa4f86d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa4f86d64ad 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 #30 0x00007fa4f86e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa4f86e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa4f86e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa4f86e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa4f86e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa4f86e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa4f86e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa4f86e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa4f86e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa4f863da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa4f863da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa4f863da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa4f863da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa4f8b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa4f8b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa4f8b86b68 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 #46 0x00007fa4f8a16539 checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #47 0x00007fa4f8a16539 (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 #48 0x00007fa4f8900e3b llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #49 0x00007fa4f8900e3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #50 0x00007fa4f8900e3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007fa4f8900e3b checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:0 #52 0x00007fa4f8900e3b 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:0 #53 0x00007fa4f861a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #54 0x00007fa4f861a9db 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:26 #55 0x00007fa4f8690a89 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x00007fa4f8690a89 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x00007fa4f8690a89 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x00007fa4f8690a89 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x00007fa4f8690a89 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x00007fa4f8690a89 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x00007fa4f8690a89 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 0x00007fa4f869d1e5 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 0x00007fa4f869d1e5 clang::ento::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 0x00007fa4f869dc4e clang::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 0x00007fa4f869df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa4f863fac2 clang::ento::CoreEngine::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 0x00007fa4f865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x00007fa4f865109a clang::ento::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 0x00007fa4f894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x00007fa4f894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x00007fa4f894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x00007fa4f894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x00007fa4f894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x00007fa4f894e0a7 llvm::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 0x00007fa4f894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x00007fa4f894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x00007fa4f8951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x00007fa4f8951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x00007fa4f8951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x00007fa4f8951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x00007fa4f8951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x00007fa4f6d0724a __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 0x00007fa4f6d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x00007fa4f6d0724a void clang::finalize>, 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 0x00007fa4f6d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x00007fa4f8444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x00007fa4f83f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x00007fa4f83f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x00007fa4f83f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x00007fa4f84948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000055d5d0429a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000055d5d042d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000055d5d042f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000055d5d0423903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x00007fa4ef03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #96 0x00007fa4ef03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #97 0x000055d5d0423945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-crashes.cpp.script: line 1: 554338 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-inherited-ctor-init-expr.cpp (629 of 19712) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb6367d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb6367ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb6367d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb635854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb63ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb63ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb63ee72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb63ee72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fb63ee72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fb63ee72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fb63ee72b29 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:89 #11 0x00007fb63ee72e8c 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 #12 0x00007fb63ee72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fb63ee72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb63ee72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fb63ee72e8c 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:53 #16 0x00007fb63ee732e6 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 #17 0x00007fb63ee732e6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #18 0x00007fb63ee732e6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007fb63ee732e6 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:68 #20 0x00007fb63ee9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x00007fb63ee9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x00007fb63ee9a404 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 0x00007fb63ee9a404 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 0x00007fb63ee9c69e 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 0x00007fb63ee9c69e clang::ento::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 0x00007fb63ee9dc4e clang::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 0x00007fb63ee9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb63ee3fac2 clang::ento::CoreEngine::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 0x00007fb63ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007fb63ee5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007fb63f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fb63f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fb63f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007fb63f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007fb63f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007fb63f14e0a7 llvm::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 0x00007fb63f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007fb63f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007fb63f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007fb63f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007fb63f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007fb63f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007fb63f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007fb63d50724a __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 0x00007fb63d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007fb63d50724a void clang::finalize>, 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 0x00007fb63d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007fb63ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007fb63ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007fb63ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007fb63ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007fb63ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x00005583bc150a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x00005583bc15470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x00005583bc156440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x00005583bc14a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007fb63583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007fb63583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x00005583bc14a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-init-expr.cpp.script: line 1: 554383 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-for-range.cpp (630 of 19712) ******************** TEST 'Clang :: Analysis/cxx-for-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 testLoopOpaqueIterator() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:73:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:73:14: Error evaluating statement #0 0x00007ff71edd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff71edceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff71edd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff71de54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff727472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff727472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff727472b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff727472b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007ff727472b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007ff727472b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007ff727472b29 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:89 #11 0x00007ff727472e8c 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 #12 0x00007ff727472e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007ff727472e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007ff727472e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007ff727472e8c 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:53 #16 0x00007ff72747347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007ff72747347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007ff72747347f 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:62 #19 0x00007ff7274927d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x00007ff7274927d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007ff7274927d0 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 #22 0x00007ff7274927d0 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 #23 0x00007ff72749333c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007ff72749333c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007ff72749333c 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 #26 0x00007ff727493c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007ff727493c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007ff727493c90 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 #29 0x00007ff72743ce4e 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 #30 0x00007ff72747eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #31 0x00007ff72747eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #32 0x00007ff72747eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #33 0x00007ff72747eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #34 0x00007ff72747eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #35 0x00007ff72747eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #36 0x00007ff72747eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #37 0x00007ff72747eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #38 0x00007ff72747eb8e 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:695:0 #39 0x00007ff72747f767 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:0 #40 0x00007ff72749c6f1 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 0x00007ff72749c6f1 clang::ento::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 #42 0x00007ff72749dc4e clang::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 0x00007ff72749df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff72743fac2 clang::ento::CoreEngine::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 0x00007ff72745109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #46 0x00007ff72745109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #47 0x00007ff72774c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x00007ff72774c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x00007ff72774c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #50 0x00007ff72774c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #51 0x00007ff72774c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #52 0x00007ff72774e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #53 0x00007ff72774e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #54 0x00007ff72774e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #55 0x00007ff727751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x00007ff727751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x00007ff727751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #58 0x00007ff727751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #59 0x00007ff727751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #60 0x00007ff725b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #61 0x00007ff725b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #62 0x00007ff725b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #63 0x00007ff725b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #64 0x00007ff727244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #65 0x00007ff7271f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #66 0x00007ff7271f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #67 0x00007ff7271f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #68 0x00007ff7272948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #69 0x00005564553b0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #70 0x00005564553b470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #71 0x00005564553b6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #72 0x00005564553aa903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #73 0x00007ff71de3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #74 0x00007ff71de3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #75 0x00005564553aa945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.script: line 2: 554378 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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-is-skipped-as-top-level.cpp (631 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-is-skipped-as-top-level.cpp.script: line 1: 554394 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 554395 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-uninitialized-object-no-dereference.cpp (632 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd442bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd442bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd442bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd441c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd44b26f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fd44b26f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd44b26f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd44b26f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fd44b26f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fd44b26f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fd44b26f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fd44b26f83e 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 0x00007fd44b235656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fd44b235656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fd44b235656 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 0x00007fd44b235656 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 0x00007fd44b23722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007fd44b23722c 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 0x00007fd44b2e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007fd44b2e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007fd44b2e0dd8 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 #21 0x00007fd44b2e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007fd44b2e1579 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 #23 0x00007fd44b27e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fd44b27e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fd44b27e6c7 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 #26 0x00007fd44b29353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fd44b29353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fd44b29353e 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 #29 0x00007fd44b293f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007fd44b293f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007fd44b293f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd44b293f1d 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 #33 0x00007fd44b23ce4e 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 0x00007fd44b299b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007fd44b299b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007fd44b299b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007fd44b299b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007fd44b299b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007fd44b299b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007fd44b299b59 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 #41 0x00007fd44b29c69e 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 0x00007fd44b29c69e clang::ento::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 #43 0x00007fd44b29dc4e clang::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 0x00007fd44b29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fd44b23fac2 clang::ento::CoreEngine::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 0x00007fd44b25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007fd44b25109a clang::ento::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 0x00007fd44b54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007fd44b54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007fd44b54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007fd44b54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007fd44b54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007fd44b54e0a7 llvm::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 0x00007fd44b54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007fd44b54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007fd44b551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007fd44b551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007fd44b551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007fd44b551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007fd44b551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007fd44990724a __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 0x00007fd44990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007fd44990724a void clang::finalize>, 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 0x00007fd44990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007fd44b044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007fd44aff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007fd44aff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007fd44aff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007fd44b0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x0000556cf6386a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000556cf638a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000556cf638c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000556cf6380903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007fd441c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007fd441c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x0000556cf6380945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-no-dereference.cpp.script: line 1: 554425 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-inheritance.cpp (634 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f62c65d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f62c65ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f62c65d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f62c5654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f62cec6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f62cec6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f62cec6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f62cec6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f62cec6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f62cec6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f62cec6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f62cec6f83e 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 0x00007f62cec35656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f62cec35656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f62cec35656 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 0x00007f62cec35656 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 0x00007f62cec3722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f62cec3722c 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 0x00007f62cece0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f62cece0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f62cece0dd8 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 #21 0x00007f62cece1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f62cece1579 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 #23 0x00007f62cec7e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f62cec7e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f62cec7e6c7 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 #26 0x00007f62cec9353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f62cec9353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f62cec9353e 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 #29 0x00007f62cec93f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f62cec93f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f62cec93f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f62cec93f1d 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 #33 0x00007f62cec3ce4e 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 0x00007f62cec99b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f62cec99b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f62cec99b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f62cec99b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f62cec99b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f62cec99b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f62cec99b59 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 #41 0x00007f62cec9c69e 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 0x00007f62cec9c69e clang::ento::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 #43 0x00007f62cec9dc4e clang::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 0x00007f62cec9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f62cec3fac2 clang::ento::CoreEngine::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 0x00007f62cec5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f62cec5109a clang::ento::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 0x00007f62cef4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f62cef4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f62cef4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f62cef4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f62cef4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f62cef4e0a7 llvm::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 0x00007f62cef4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f62cef4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f62cef51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f62cef51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f62cef51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f62cef51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f62cef51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f62cd30724a __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 0x00007f62cd30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f62cd30724a void clang::finalize>, 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 0x00007f62cd30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f62cea44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f62ce9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f62ce9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f62ce9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f62cea948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x0000561f5f906a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000561f5f90a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000561f5f90c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000561f5f900903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f62c563ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f62c563f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x0000561f5f900945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-inheritance.cpp.script: line 1: 554418 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (635 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fcc025d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcc025ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcc025d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcc01654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcc0ac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fcc0ac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fcc0ac6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fcc0ac6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fcc0ac6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fcc0ac6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fcc0ac6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fcc0ac6efd6 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 0x00007fcc0ac9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fcc0ac9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fcc0ac3f9ea 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 #15 0x00007fcc0ac3fb9e 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:223:0 #16 0x00007fcc0ac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fcc0ac5109a clang::ento::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 0x00007fcc0af4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fcc0af4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fcc0af4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fcc0af4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fcc0af4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fcc0af4e0a7 llvm::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 0x00007fcc0af4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fcc0af4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fcc0af51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fcc0af51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fcc0af51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fcc0af51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fcc0af51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fcc0930724a __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 0x00007fcc0930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fcc0930724a void clang::finalize>, 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 0x00007fcc0930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fcc0aa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fcc0a9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fcc0a9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fcc0a9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fcc0aa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000560b56cb7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000560b56cbb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000560b56cbd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000560b56cb1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fcc0163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fcc0163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000560b56cb1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object.cpp.script: line 2: 554469 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (636 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb79d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb79d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb79d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb79c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb7a5e6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fb7a5e6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb7a5e6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb7a5e6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb7a5e6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb7a5e6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb7a5e6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fb7a5e6f83e 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 0x00007fb7a5e35656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fb7a5e35656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fb7a5e35656 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 0x00007fb7a5e35656 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 0x00007fb7a5e3722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007fb7a5e3722c 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 0x00007fb7a5ee0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007fb7a5ee0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007fb7a5ee0dd8 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 #21 0x00007fb7a5ee1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007fb7a5ee1579 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 #23 0x00007fb7a5e7e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fb7a5e7e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fb7a5e7e6c7 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 #26 0x00007fb7a5e9353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fb7a5e9353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fb7a5e9353e 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 #29 0x00007fb7a5e93f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007fb7a5e93f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007fb7a5e93f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb7a5e93f1d 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 #33 0x00007fb7a5e3ce4e 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 0x00007fb7a5e99b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007fb7a5e99b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007fb7a5e99b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007fb7a5e99b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007fb7a5e99b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007fb7a5e99b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007fb7a5e99b59 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 #41 0x00007fb7a5e9c69e 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 0x00007fb7a5e9c69e clang::ento::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 #43 0x00007fb7a5e9dc4e clang::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 0x00007fb7a5e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb7a5e3fac2 clang::ento::CoreEngine::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 0x00007fb7a5e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007fb7a5e5109a clang::ento::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 0x00007fb7a614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007fb7a614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007fb7a614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007fb7a614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007fb7a614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007fb7a614e0a7 llvm::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 0x00007fb7a614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007fb7a614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007fb7a6151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007fb7a6151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007fb7a6151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007fb7a6151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007fb7a6151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007fb7a450724a __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 0x00007fb7a450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007fb7a450724a void clang::finalize>, 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 0x00007fb7a450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007fb7a5c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007fb7a5bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007fb7a5bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007fb7a5bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007fb7a5c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055c365a10a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055c365a1470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055c365a16440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055c365a0a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007fb79c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007fb79c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055c365a0a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unguarded-access.cpp.script: line 1: 554452 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-method-names.cpp (637 of 19712) ******************** TEST 'Clang :: Analysis/cxx-method-names.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fcd033d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcd033ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcd033d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcd02454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcd0bc8d06e isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x00007fcd0bc8d06e remove_internal /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x00007fcd0bc8d06e remove /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x00007fcd0bc8d06e remove /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x00007fcd0bc8d06e Remove /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:27 #9 0x00007fcd0bc8d06e remove<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x00007fcd0bc8d06e 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:63 #11 0x00007fcd0bc99ba3 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #12 0x00007fcd0bc99ba3 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #13 0x00007fcd0bc99ba3 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:689:37 #14 0x00007fcd0bc99ba3 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:70 #15 0x00007fcd0ba2370b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fcd0ba2370b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fcd0ba2370b 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:29 #18 0x00007fcd0ba2370b 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:33 #19 0x00007fcd0bab8a09 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007fcd0bab8a09 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007fcd0bab8a09 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:68 #22 0x00007fcd0bab8a09 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:58 #23 0x00007fcd0ba34dc4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x00007fcd0ba34dc4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x00007fcd0ba34dc4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x00007fcd0ba34dc4 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 0x00007fcd0ba932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #28 0x00007fcd0ba932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x00007fcd0ba932e9 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 0x00007fcd0ba93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fcd0ba93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fcd0ba93c90 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 0x00007fcd0ba3ce4e 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 0x00007fcd0ba7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #35 0x00007fcd0ba7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #36 0x00007fcd0ba7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #37 0x00007fcd0ba7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #38 0x00007fcd0ba7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #39 0x00007fcd0ba7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #40 0x00007fcd0ba7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #41 0x00007fcd0ba7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #42 0x00007fcd0ba7eb8e 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:695:0 #43 0x00007fcd0ba7f767 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:0 #44 0x00007fcd0ba9c6f1 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 #45 0x00007fcd0ba9c6f1 clang::ento::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 #46 0x00007fcd0ba9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #47 0x00007fcd0ba9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #48 0x00007fcd0ba3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #49 0x00007fcd0ba5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #50 0x00007fcd0ba5109a clang::ento::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 0x00007fcd0bd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #52 0x00007fcd0bd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #53 0x00007fcd0bd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #54 0x00007fcd0bd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #55 0x00007fcd0bd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #56 0x00007fcd0bd4e0a7 llvm::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 0x00007fcd0bd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x00007fcd0bd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #59 0x00007fcd0bd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x00007fcd0bd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x00007fcd0bd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x00007fcd0bd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x00007fcd0bd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x00007fcd0a10724a __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 0x00007fcd0a10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x00007fcd0a10724a void clang::finalize>, 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 0x00007fcd0a10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x00007fcd0b844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #69 0x00007fcd0b7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #70 0x00007fcd0b7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #71 0x00007fcd0b7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #72 0x00007fcd0b8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #73 0x000056352ecb6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x000056352ecba70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x000056352ecbc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x000056352ecb0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x00007fcd0243ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #78 0x00007fcd0243f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #79 0x000056352ecb0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-method-names.cpp.script: line 1: 554409 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-ptr-ref.cpp (638 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa7585d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa7585ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa7585d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa757654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa760c6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fa760c6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa760c6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa760c6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa760c6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa760c6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa760c6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fa760c6f83e 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 0x00007fa760c35656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fa760c35656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fa760c35656 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 0x00007fa760c35656 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 0x00007fa760c3722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007fa760c3722c 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 0x00007fa760ce0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007fa760ce0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007fa760ce0dd8 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 #21 0x00007fa760ce1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007fa760ce1579 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 #23 0x00007fa760c7e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fa760c7e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fa760c7e6c7 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 #26 0x00007fa760c9353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fa760c9353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fa760c9353e 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 #29 0x00007fa760c93f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007fa760c93f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007fa760c93f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa760c93f1d 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 #33 0x00007fa760c3ce4e 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 0x00007fa760c99b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007fa760c99b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007fa760c99b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007fa760c99b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007fa760c99b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007fa760c99b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007fa760c99b59 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 #41 0x00007fa760c9c69e 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 0x00007fa760c9c69e clang::ento::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 #43 0x00007fa760c9dc4e clang::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 0x00007fa760c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa760c3fac2 clang::ento::CoreEngine::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 0x00007fa760c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007fa760c5109a clang::ento::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 0x00007fa760f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007fa760f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007fa760f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007fa760f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007fa760f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007fa760f4e0a7 llvm::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 0x00007fa760f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007fa760f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007fa760f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007fa760f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007fa760f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007fa760f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007fa760f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007fa75f30724a __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 0x00007fa75f30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007fa75f30724a void clang::finalize>, 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 0x00007fa75f30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007fa760a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007fa7609f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007fa7609f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007fa7609f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007fa760a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x0000561d58939a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000561d5893d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000561d5893f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000561d58933903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007fa75763ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007fa75763f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x0000561d58933945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-ptr-ref.cpp.script: line 2: 554445 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-notes-as-warnings.cpp (639 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f192b3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f192b3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f192b3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f192a454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1933cfb476 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1933cfb476 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1933cfb476 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1933cfb476 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1933cfb476 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007f1933cfb476 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 0x00007f1933cfb476 contains<(anonymous namespace)::AnalyzedRegions> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x00007f1933cfb476 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:0 #12 0x00007f1933cfe45d 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:0 #13 0x00007f1933cfe683 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:0 #14 0x00007f1933e16fc9 llvm::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 0x00007f1933e16fc9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #16 0x00007f1933e16fc9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x00007f1933e16fc9 (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 0x00007f1933a19e36 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 0x00007f1933a7e043 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:2954:0 #20 0x00007f1933a3ed11 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 0x00007f1933a3fc1e 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 0x00007f1933a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007f1933a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007f1933d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007f1933d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007f1933d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007f1933d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007f1933d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007f1933d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007f1933d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007f1933d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007f1933d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007f1933d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007f1933d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007f1933d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007f1933d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007f193210724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007f193210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007f193210724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007f193210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007f1933844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007f19337f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007f19337f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007f19337f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007f19338948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000055eab9f8aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000055eab9f8e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000055eab9f90440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000055eab9f84903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007f192a43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007f192a43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x000055eab9f84945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-notes-as-warnings.cpp.script: line 1: 554442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-unionlike-constructs.cpp (640 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f74be7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f74be7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f74be7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f74bd854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f74c6e6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f74c6e6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f74c6e6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f74c6e6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f74c6e6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f74c6e6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f74c6e6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f74c6e6f83e 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 0x00007f74c6e35656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f74c6e35656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f74c6e35656 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 0x00007f74c6e35656 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 0x00007f74c6e3722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f74c6e3722c 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 0x00007f74c6ee0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f74c6ee0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f74c6ee0dd8 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 #21 0x00007f74c6ee1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f74c6ee1579 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 #23 0x00007f74c6e7e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f74c6e7e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f74c6e7e6c7 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 #26 0x00007f74c6e9353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f74c6e9353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f74c6e9353e 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 #29 0x00007f74c6e93f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f74c6e93f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f74c6e93f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f74c6e93f1d 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 #33 0x00007f74c6e3ce4e 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 0x00007f74c6e99b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f74c6e99b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f74c6e99b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f74c6e99b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f74c6e99b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f74c6e99b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f74c6e99b59 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 #41 0x00007f74c6e9c69e 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 0x00007f74c6e9c69e clang::ento::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 #43 0x00007f74c6e9dc4e clang::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 0x00007f74c6e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f74c6e3fac2 clang::ento::CoreEngine::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 0x00007f74c6e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f74c6e5109a clang::ento::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 0x00007f74c714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f74c714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f74c714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f74c714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f74c714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f74c714e0a7 llvm::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 0x00007f74c714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f74c714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f74c7151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f74c7151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f74c7151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f74c7151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f74c7151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f74c550724a __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 0x00007f74c550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f74c550724a void clang::finalize>, 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 0x00007f74c550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f74c6c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f74c6bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f74c6bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f74c6bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f74c6c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055f0be545a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055f0be54970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055f0be54b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055f0be53f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f74bd83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f74bd83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055f0be53f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unionlike-constructs.cpp.script: line 2: 554460 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/cxx-member-initializer-const-field.cpp (641 of 19712) ******************** TEST 'Clang :: Analysis/cxx-member-initializer-const-field.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f4bd9bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4bd9bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4bd9bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4bd8c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4be2635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4be2635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4be2635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4be2635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4be2635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4be2635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4be2635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4be2635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4be22d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4be22d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4be22d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4be22d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4be22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4be22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4be22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4be22d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4be22d4e65 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 #21 0x00007f4be22d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4be22d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4be22d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4be22b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4be22b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4be22b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4be22d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4be22d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4be22d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4be22e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4be22e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4be22e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4be22e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4be22e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4be22e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4be22e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4be22e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4be22e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4be223da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4be223da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4be223da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4be223da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4be2380bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007f4be2380bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007f4be2380bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007f4be2380bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007f4be2380bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007f4be2380bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007f4be2380bdc 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:0 #50 0x00007f4be221a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007f4be221a9db 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:26 #52 0x00007f4be2275663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f4be2275663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f4be2275663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007f4be2275663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007f4be2275663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007f4be2275663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007f4be2275663 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:44 #59 0x00007f4be229d82f 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 0x00007f4be229d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007f4be229dc4e clang::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 0x00007f4be229df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f4be223fac2 clang::ento::CoreEngine::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 0x00007f4be225109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f4be225109a clang::ento::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 0x00007f4be254c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f4be254c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f4be254c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f4be254c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f4be254c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f4be254e0a7 llvm::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 0x00007f4be254e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f4be254e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f4be2551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f4be2551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f4be2551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f4be2551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f4be2551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f4be090724a __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 0x00007f4be090724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f4be090724a void clang::finalize>, 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 0x00007f4be090724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f4be2044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f4be1ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f4be1ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f4be1ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f4be20948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000055a5b0f2aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000055a5b0f2e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000055a5b0f30440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000055a5b0f24903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f4bd8c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f4bd8c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000055a5b0f24945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-member-initializer-const-field.cpp.script: line 1: 554407 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/cxxctr-evalcall-analysis-order.cpp (643 of 19712) ******************** TEST 'Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f690166efd6 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f690166efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #6 0x00007f690166efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: #7 0x00007f690166efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #8 0x00007f690166efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #9 0x00007f690166efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #10 0x00007f690166efd6 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 0x00007f690166efd6 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 0x00007f690169db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: #13 0x00007f690169df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: #14 0x00007f690163fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: #15 0x00007f690165109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxnewexpr-callback.cpp (645 of 19712) ******************** TEST 'Clang :: Analysis/cxxnewexpr-callback.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5bc89d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #1 0x00007f5bc89ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #2 0x00007f5bc89d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #3 0x00007f5bc7a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp (646 of 19712) ******************** TEST 'Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:510: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f01bbdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #1 0x00007f01bbdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #2 0x00007f01bbdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #3 0x00007f01bae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.c (648 of 19712) ******************** 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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c:675:12: Error evaluating statement #0 0x00007fef4bdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fef4bdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fef4bdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fef4ae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fef544ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fef544ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fef544ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fef544ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fef544ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fef544ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fef5446f34b 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 #11 0x00007fef5446f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fef5446f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fef5446f34b 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:50 #14 0x00007fef5449db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fef5449df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fef5443f9ea 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 #17 0x00007fef5443fb9e 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:223:0 #18 0x00007fef5445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fef5445109a clang::ento::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 0x00007fef5474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fef5474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fef5474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fef5474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fef5474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fef5474e0a7 llvm::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 0x00007fef5474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fef5474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fef54751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fef54751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fef54751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fef54751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fef54751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fef52b0724a __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 0x00007fef52b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fef52b0724a void clang::finalize>, 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 0x00007fef52b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fef54244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fef541f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fef541f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fef541f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fef542948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000559e3e6f9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000559e3e6fd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000559e3e6ff440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000559e3e6f3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fef4ae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fef4ae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000559e3e6f3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17+0xd945) -- 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']' died with . -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.m (649 of 19712) ******************** TEST 'Clang :: Analysis/dead-stores.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6632bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6632bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6632bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6631c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f663b635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f663b635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f663b635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f663b635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f663b635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f663b635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f663b635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f663b635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f663b2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f663b2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f663b2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f663b2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f663b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f663b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f663b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f663b2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f663b2d4e65 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 #21 0x00007f663b2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f663b2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f663b2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f663b2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f663b2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f663b2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f663b2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f663b2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f663b2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f663b2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f663b2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f663b2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f663b2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f663b2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f663b2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f663b2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f663b2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f663b2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f663b23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f663b23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f663b23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f663b23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f663b23df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f663b23df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f663b23df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f663b20953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f663b20953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f663b20953e 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 #49 0x00007f663b250eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f663b250eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f663b250eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f663b25149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f663b25149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f663b25149e 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 #55 0x00007f663b54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f663b54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f663b54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f663b54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f663b54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f663b54e0a7 llvm::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 0x00007f663b54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f663b54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f663b551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f663b551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f663b551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f663b551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f663b551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f663990724a __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 0x00007f663990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f663990724a void clang::finalize>, 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 0x00007f663990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f663b044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f663aff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f663aff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f663aff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f663b0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055fa326f2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055fa326f670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055fa326f8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055fa326ec903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f6631c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f6631c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055fa326ec945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.m.script: line 1: 554525 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (651 of 19712) ******************** TEST 'Clang :: Analysis/debug-exprinspection-istainted.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f58f11d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f58f11ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f58f11d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f58f0254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f58f9c29e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f58f9c29e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f58f9c29e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f58f9c29e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f58f9c29e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f58f9c29e48 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 0x00007f58f9c29e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f58f9c29e48 (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 0x00007f58f982561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f58f982561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f58f982561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f58f982561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f58f982561d 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:26 #17 0x00007f58f987ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f58f987ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f58f987ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f58f987ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f58f987ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f58f987ecbc 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:0 #23 0x00007f58f987f767 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:0 #24 0x00007f58f989c6f1 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 0x00007f58f989c6f1 clang::ento::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 0x00007f58f989dc4e clang::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 0x00007f58f989df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f58f983fac2 clang::ento::CoreEngine::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 0x00007f58f985109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f58f985109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f58f9b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f58f9b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f58f9b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f58f9b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f58f9b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f58f9b4e0a7 llvm::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 0x00007f58f9b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f58f9b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f58f9b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f58f9b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f58f9b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f58f9b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f58f9b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f58f7f0724a __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 0x00007f58f7f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f58f7f0724a void clang::finalize>, 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 0x00007f58f7f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f58f9644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f58f95f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f58f95f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f58f95f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f58f96948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055a716022a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055a71602670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055a716028440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055a71601c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f58f023ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f58f023f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055a71601c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-exprinspection-istainted.c.script: line 1: 554557 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-iterator-modeling.cpp (652 of 19712) ******************** TEST 'Clang :: Analysis/debug-iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f57a73d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f57a73ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f57a73d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f57a6454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f57afa72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f57afa72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f57afa72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f57afa72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f57afa72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f57afa72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f57afa72b29 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:89 #11 0x00007f57afa72e8c 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 #12 0x00007f57afa72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f57afa72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f57afa72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f57afa72e8c 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:53 #16 0x00007f57afa7347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f57afa7347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f57afa7347f 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:62 #19 0x00007f57afa927d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x00007f57afa927d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f57afa927d0 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 #22 0x00007f57afa927d0 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 #23 0x00007f57afa9333c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f57afa9333c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f57afa9333c 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 #26 0x00007f57afa93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f57afa93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f57afa93c90 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 #29 0x00007f57afa3ce4e 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 #30 0x00007f57afa7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #31 0x00007f57afa7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #32 0x00007f57afa7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #33 0x00007f57afa7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #34 0x00007f57afa7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #35 0x00007f57afa7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #36 0x00007f57afa7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #37 0x00007f57afa7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #38 0x00007f57afa7eb8e 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:695:0 #39 0x00007f57afa7f767 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:0 #40 0x00007f57afa9c6f1 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 0x00007f57afa9c6f1 clang::ento::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 #42 0x00007f57afa9dc4e clang::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 0x00007f57afa9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f57afa3fac2 clang::ento::CoreEngine::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 0x00007f57afa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #46 0x00007f57afa5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #47 0x00007f57afd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x00007f57afd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x00007f57afd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #50 0x00007f57afd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #51 0x00007f57afd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #52 0x00007f57afd4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #53 0x00007f57afd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #54 0x00007f57afd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #55 0x00007f57afd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x00007f57afd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x00007f57afd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #58 0x00007f57afd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #59 0x00007f57afd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #60 0x00007f57ae10724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #61 0x00007f57ae10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #62 0x00007f57ae10724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #63 0x00007f57ae10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #64 0x00007f57af844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #65 0x00007f57af7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #66 0x00007f57af7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #67 0x00007f57af7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #68 0x00007f57af8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #69 0x000055ab6b234a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #70 0x000055ab6b23870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #71 0x000055ab6b23a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #72 0x000055ab6b22e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #73 0x00007f57a643ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #74 0x00007f57a643f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #75 0x000055ab6b22e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-iterator-modeling.cpp.script: line 2: 554563 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (655 of 19712) ******************** TEST 'Clang :: Analysis/delegates.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f53c15d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f53c15ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f53c15d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f53c0654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f53ca035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f53ca035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f53ca035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f53ca035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f53ca035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f53ca035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f53ca035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f53ca035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f53c9cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f53c9cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f53c9cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f53c9cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f53c9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f53c9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f53c9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f53c9cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f53c9cd4e65 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 #21 0x00007f53c9cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f53c9cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f53c9cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f53c9cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f53c9cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f53c9cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f53c9cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f53c9cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f53c9cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f53c9ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f53c9ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f53c9ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f53c9ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f53c9ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f53c9ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f53c9ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f53c9ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f53c9ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f53c9c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f53c9c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f53c9c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f53c9c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f53c9c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f53c9c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f53c9c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f53c9c0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f53c9c0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f53c9c0953e 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 #49 0x00007f53c9c50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f53c9c50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f53c9c50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f53c9c5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f53c9c5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f53c9c5149e 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 #55 0x00007f53c9f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f53c9f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f53c9f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f53c9f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f53c9f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f53c9f4e0a7 llvm::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 0x00007f53c9f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f53c9f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f53c9f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f53c9f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f53c9f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f53c9f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f53c9f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f53c830724a __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 0x00007f53c830724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f53c830724a void clang::finalize>, 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 0x00007f53c830724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f53c9a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f53c99f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f53c99f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f53c99f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f53c9a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005598f9e39a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005598f9e3d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005598f9e3f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005598f9e33903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f53c063ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f53c063f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005598f9e33945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/delegates.m.script: line 1: 554589 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (656 of 19712) ******************** TEST 'Clang :: Analysis/derived-to-base.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f086cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f086cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f086cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f086be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f087546efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f087546efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f087546efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f087546efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f087546efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f087546efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f087546efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f087546efd6 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 0x00007f087549db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f087549df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f087543f9ea 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 #15 0x00007f087543fb9e 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:223:0 #16 0x00007f087545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f087545109a clang::ento::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 0x00007f087574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f087574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f087574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f087574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f087574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f087574e0a7 llvm::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 0x00007f087574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f087574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f0875751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f0875751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f0875751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f0875751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f0875751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f0873b0724a __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 0x00007f0873b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f0873b0724a void clang::finalize>, 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 0x00007f0873b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f0875244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f08751f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f08751f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f08751f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f08752948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055c1a5426a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055c1a542a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055c1a542c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055c1a5420903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f086be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f086be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055c1a5420945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/derived-to-base.cpp.script: line 2: 554622 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/debug-container-modeling.cpp (657 of 19712) ******************** TEST 'Clang :: Analysis/debug-container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1c529d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1c529ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1c529d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1c51a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1c5b0c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f1c5b0c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1c5b0c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1c5b0c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f1c5b0c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f1c5b0c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f1c5b0c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f1c5b0c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f1c5b0c6be6 (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 0x00007f1c5b0c7048 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 #14 0x00007f1c5b0c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f1c5b0c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f1c5b0c7048 (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 #17 0x00007f1c5b0ecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f1c5b0ecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f1c5b0ecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f1c5b0ecee7 (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 #21 0x00007f1c5b0eca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007f1c5b0eca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007f1c5b0eca64 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 #24 0x00007f1c5b53bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007f1c5b53bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007f1c5b53bf33 (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 #27 0x00007f1c5b0b4298 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 #28 0x00007f1c5b0b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007f1c5b0b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f1c5b0b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007f1c5b0b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007f1c5b0b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007f1c5b0b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007f1c5b0b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007f1c5b0d62c8 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 #36 0x00007f1c5b0d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007f1c5b0d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007f1c5b0d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007f1c5b0d63a7 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 #40 0x00007f1c5b0d63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007f1c5b0d63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f1c5b0d63a7 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 #43 0x00007f1c5b0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f1c5b0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f1c5b0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007f1c5b0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007f1c5b0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007f1c5b0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007f1c5b0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007f1c5b0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007f1c5b0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007f1c5b03da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f1c5b03da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f1c5b03da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007f1c5b03da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007f1c5b03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f1c5b03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f1c5b03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007f1c5b00953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1c5b00953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1c5b00953e 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 #62 0x00007f1c5b194b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007f1c5b194b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007f1c5b194b85 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:42 #65 0x00007f1c5b158181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007f1c5b158181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007f1c5b158181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007f1c5b158181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007f1c5b158181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007f1c5b158181 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:46 #71 0x00007f1c5b02561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007f1c5b02561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007f1c5b02561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007f1c5b02561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007f1c5b02561d 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:26 #76 0x00007f1c5b07ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007f1c5b07ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007f1c5b07ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007f1c5b07ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007f1c5b07ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007f1c5b07ecbc 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:0 #82 0x00007f1c5b07f767 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:0 #83 0x00007f1c5b09c6f1 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 #84 0x00007f1c5b09c6f1 clang::ento::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 #85 0x00007f1c5b09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007f1c5b09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007f1c5b03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007f1c5b05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007f1c5b05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007f1c5b34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007f1c5b34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007f1c5b34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007f1c5b34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007f1c5b34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007f1c5b34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007f1c5b34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007f1c5b34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007f1c5b351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007f1c5b351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007f1c5b351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007f1c5b351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007f1c5b351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007f1c5970724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007f1c5970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007f1c5970724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007f1c5970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007f1c5ae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007f1c5adf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007f1c5adf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007f1c5adf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007f1c5ae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x0000561293746a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x000056129374a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x000056129374c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x0000561293740903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007f1c51a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007f1c51a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x0000561293740945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-container-modeling.cpp.script: line 2: 554558 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/diagnostics/deref-track-symbolic-region.c (658 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007eff5f9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007eff5f9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007eff5f9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007eff5ea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007eff68435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007eff68435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007eff68435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007eff68435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007eff68435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007eff68435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007eff68435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007eff68435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007eff680d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007eff680d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007eff680d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007eff680d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007eff680d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007eff680d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007eff680d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007eff680d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007eff680d4e65 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 #21 0x00007eff680d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007eff680d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007eff680d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007eff680b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007eff680b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007eff680b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007eff680d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007eff680d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007eff680d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007eff680e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007eff680e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007eff680e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007eff680e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007eff680e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007eff680e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007eff680e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007eff680e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007eff680e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007eff6803da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007eff6803da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007eff6803da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007eff6803da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007eff68586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007eff68586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007eff68586b68 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 #46 0x00007eff6806bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007eff6806bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007eff6806bf90 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 #49 0x00007eff6806bf90 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 #50 0x00007eff6806bf90 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 #51 0x00007eff6806bf90 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 #52 0x00007eff6806bf90 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 #53 0x00007eff6806bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007eff6806bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007eff6806bf90 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 #56 0x00007eff6803f21a 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:0 #57 0x00007eff6805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007eff6805109a clang::ento::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 0x00007eff6834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007eff6834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007eff6834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007eff6834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007eff6834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007eff6834e0a7 llvm::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 0x00007eff6834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007eff6834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007eff68351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007eff68351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007eff68351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007eff68351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007eff68351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007eff6670724a __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 0x00007eff6670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007eff6670724a void clang::finalize>, 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 0x00007eff6670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007eff67e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007eff67df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007eff67df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007eff67df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007eff67e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a79bf80a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a79bf8470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a79bf86440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a79bf7a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007eff5ea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007eff5ea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a79bf7a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.script: line 3: 554635 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/deref-track-symbolic-region.cpp (660 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f46f83d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f46f83ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f46f83d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f46f7454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4700e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4700e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4700e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4700e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4700e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4700e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4700e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4700e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4700ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4700ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4700ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4700ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4700ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4700ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4700ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4700ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4700ad4e65 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 #21 0x00007f4700ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4700ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4700ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4700ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4700ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4700ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4700ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4700ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4700ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4700ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4700ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4700ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4700ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4700ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4700ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4700ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4700ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4700ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4700a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4700a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4700a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4700a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4700f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4700f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4700f86b68 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 #46 0x00007f4700a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4700a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4700a6bf90 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 #49 0x00007f4700a6bf90 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 #50 0x00007f4700a6bf90 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 #51 0x00007f4700a6bf90 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 #52 0x00007f4700a6bf90 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 #53 0x00007f4700a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4700a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4700a6bf90 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 #56 0x00007f4700a3f21a 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:0 #57 0x00007f4700a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4700a5109a clang::ento::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 0x00007f4700d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4700d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4700d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4700d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4700d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4700d4e0a7 llvm::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 0x00007f4700d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4700d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4700d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4700d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4700d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4700d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4700d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f46ff10724a __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 0x00007f46ff10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f46ff10724a void clang::finalize>, 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 0x00007f46ff10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4700844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f47007f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f47007f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f47007f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f47008948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005618421f4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005618421f870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005618421fa440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005618421ee903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f46f743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f46f743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005618421ee945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.cpp.script: line 1: 554647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/explicit-suppression.cpp (661 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/explicit-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb2391d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb2391ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb2391d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb238254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb2418d44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb2418d44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb2418d44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb2418d44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb2418d44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb2418d44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb2418d44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fb2418d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007fb2418d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007fb2418d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007fb2418d44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007fb2418d44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007fb2418d44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007fb2418d44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007fb2418d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007fb2418d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007fb2418d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007fb2418d44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007fb2418d4c2b 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 #23 0x00007fb2418d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007fb2418d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007fb2418d4c2b (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:31 #26 0x00007fb2418b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007fb2418b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007fb2418b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x00007fb2418d66ef llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x00007fb2418d66ef llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x00007fb2418d66ef 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 0x00007fb2418e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007fb2418e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007fb2418e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #35 0x00007fb2418e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x00007fb2418e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x00007fb2418e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x00007fb2418e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007fb2418e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007fb2418e9060 clang::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 0x00007fb24183da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007fb24183da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007fb24183da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x00007fb24183da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #45 0x00007fb241d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x00007fb241d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x00007fb241d86b68 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 0x00007fb241869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #49 0x00007fb241869db3 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 0x00007fb241869db3 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 0x00007fb24189d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #52 0x00007fb24189d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #53 0x00007fb24189d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #54 0x00007fb24189d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #55 0x00007fb24189d93e clang::ento::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 0x00007fb24189dc4e clang::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 0x00007fb24189df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb24183fac2 clang::ento::CoreEngine::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 0x00007fb24185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #60 0x00007fb24185109a clang::ento::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 0x00007fb241b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #62 0x00007fb241b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #63 0x00007fb241b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #64 0x00007fb241b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #65 0x00007fb241b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #66 0x00007fb241b4e0a7 llvm::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 0x00007fb241b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x00007fb241b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #69 0x00007fb241b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x00007fb241b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x00007fb241b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x00007fb241b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x00007fb241b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x00007fb23ff0724a __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 0x00007fb23ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x00007fb23ff0724a void clang::finalize>, 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 0x00007fb23ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x00007fb241644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #79 0x00007fb2415f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #80 0x00007fb2415f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #81 0x00007fb2415f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #82 0x00007fb2416948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #83 0x000055f0b1aa5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x000055f0b1aa970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x000055f0b1aab440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x000055f0b1a9f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x00007fb23823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #88 0x00007fb23823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #89 0x000055f0b1a9f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/explicit-suppression.cpp.script: line 3: 554651 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dtors.cpp (663 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6c925d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6c925ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6c925d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6c91654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6c9b035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6c9b035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6c9b035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6c9b035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6c9b035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6c9b035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6c9b035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6c9b035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6c9acd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6c9acd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6c9acd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6c9acd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6c9acd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6c9acd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6c9acd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6c9acd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6c9acd4e65 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 #21 0x00007f6c9acd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6c9acd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6c9acd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6c9acb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6c9acb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6c9acb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6c9acd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6c9acd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6c9acd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6c9ace8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6c9ace8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6c9ace8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6c9ace8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6c9ace8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6c9ace8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6c9ace9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6c9ace9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6c9ace9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6c9ac3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6c9ac3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6c9ac3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6c9ac3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6c9b186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6c9b186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6c9b186b68 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 #46 0x00007f6c9ac6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f6c9ac6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f6c9ac6bf90 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 #49 0x00007f6c9ac6bf90 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 #50 0x00007f6c9ac6bf90 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 #51 0x00007f6c9ac6bf90 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 #52 0x00007f6c9ac6bf90 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 #53 0x00007f6c9ac6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f6c9ac6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f6c9ac6bf90 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 #56 0x00007f6c9ac3f21a 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:0 #57 0x00007f6c9ac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f6c9ac5109a clang::ento::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 0x00007f6c9af4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f6c9af4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f6c9af4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f6c9af4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f6c9af4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f6c9af4e0a7 llvm::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 0x00007f6c9af4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f6c9af4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f6c9af51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f6c9af51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f6c9af51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f6c9af51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f6c9af51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f6c9930724a __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 0x00007f6c9930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f6c9930724a void clang::finalize>, 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 0x00007f6c9930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6c9aa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f6c9a9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f6c9a9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f6c9a9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f6c9aa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000562069e71a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000562069e7570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000562069e77440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000562069e6b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6c9163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6c9163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000562069e6b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/dtors.cpp.script: line 1: 554649 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/initializer.cpp (665 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9f283d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9f283ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9f283d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9f27454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9f30a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9f30a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9f30a6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9f30a6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f9f30a6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f9f30a6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f9f30a6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f9f30a6efd6 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 0x00007f9f30a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f9f30a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f9f30a3f9ea 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 #15 0x00007f9f30a3fb9e 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:223:0 #16 0x00007f9f30a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f9f30a5109a clang::ento::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 0x00007f9f30d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f9f30d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f9f30d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f9f30d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f9f30d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f9f30d4e0a7 llvm::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 0x00007f9f30d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f9f30d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f9f30d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f9f30d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f9f30d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f9f30d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f9f30d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f9f2f10724a __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 0x00007f9f2f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f9f2f10724a void clang::finalize>, 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 0x00007f9f2f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f9f30844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f9f307f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f9f307f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f9f307f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f9f308948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000565017c33a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000565017c3770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000565017c39440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000565017c2d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f9f2743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f9f2743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000565017c2d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/initializer.cpp.script: line 1: 554693 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/implicit-cxx-std-suppression.cpp (667 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2b8a3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2b8a3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2b8a3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2b89454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2b92e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2b92e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2b92e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2b92e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2b92e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2b92e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2b92e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2b92e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2b92ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2b92ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2b92ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2b92ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2b92ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2b92ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2b92ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2b92ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2b92ad4e65 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 #21 0x00007f2b92ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2b92ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2b92ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2b92ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2b92ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2b92ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2b92ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2b92ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2b92ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2b92ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2b92ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2b92ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2b92ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2b92ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2b92ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2b92ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2b92ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2b92ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2b92a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2b92a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2b92a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2b92a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2b92a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f2b92a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f2b92a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f2b92a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f2b92a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f2b92a97620 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 #49 0x00007f2b92a97620 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 #50 0x00007f2b92a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f2b92a977b2 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 0x00007f2b92a9dfaf clang::ento::ExprEngine::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 0x00007f2b92a3f9ea 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 0x00007f2b92a3fb9e 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:223:0 #55 0x00007f2b92a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f2b92a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f2b92d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f2b92d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f2b92d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f2b92d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f2b92d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f2b92d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f2b92d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f2b92d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f2b92d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f2b92d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f2b92d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f2b92d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f2b92d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f2b9110724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f2b9110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f2b9110724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f2b9110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f2b92844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f2b927f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f2b927f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f2b927f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f2b928948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055ac25031a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055ac2503570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055ac25037440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055ac2502b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f2b8943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f2b8943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055ac2502b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/implicit-cxx-std-suppression.cpp.script: line 4: 554678 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/find_last_store.c (668 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/find_last_store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9aa2dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9aa2dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9aa2dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9aa1e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9aab835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9aab835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9aab835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9aab835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9aab835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9aab835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9aab835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9aab835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9aab4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9aab4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9aab4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9aab4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9aab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9aab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9aab4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9aab4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9aab4d4e65 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 #21 0x00007f9aab4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9aab4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9aab4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9aab4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9aab4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9aab4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9aab4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9aab4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9aab4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9aab4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9aab4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9aab4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9aab4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9aab4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9aab4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9aab4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9aab4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9aab4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9aab43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9aab43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9aab43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9aab43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9aab986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9aab986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9aab986b68 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 #46 0x00007f9aab46bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f9aab46bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f9aab46bf90 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 #49 0x00007f9aab46bf90 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 #50 0x00007f9aab46bf90 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 #51 0x00007f9aab46bf90 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 #52 0x00007f9aab46bf90 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 #53 0x00007f9aab46bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f9aab46bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f9aab46bf90 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 #56 0x00007f9aab43f21a 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:0 #57 0x00007f9aab45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f9aab45109a clang::ento::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 0x00007f9aab74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f9aab74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f9aab74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f9aab74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f9aab74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f9aab74e0a7 llvm::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 0x00007f9aab74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f9aab74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f9aab751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f9aab751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f9aab751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f9aab751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f9aab751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f9aa9b0724a __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 0x00007f9aa9b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f9aa9b0724a void clang::finalize>, 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 0x00007f9aa9b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f9aab244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f9aab1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f9aab1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f9aab1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f9aab2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056049a77ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056049a77f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056049a781440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056049a775903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f9aa1e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f9aa1e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056049a775945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/find_last_store.c.script: line 1: 554671 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (669 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff391fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff391fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff391fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff391054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff39aa14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff39aa14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff39aa14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff39aa14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff39aa14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff39aa14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff39aa14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff39aa14a5e (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 0x00007ff39a7e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007ff39a7e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007ff39a7e8fd5 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 0x00007ff39a62397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007ff39a62397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007ff39a62397a 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:29 #18 0x00007ff39a62397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007ff39a6e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007ff39a6e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007ff39a6e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007ff39a6e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007ff39a6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007ff39a6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007ff39a6e9060 clang::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 0x00007ff39a63db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007ff39a63db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007ff39a63db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007ff39a63db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007ff39ab86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007ff39ab86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007ff39ab86b68 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 0x00007ff39a815ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007ff39a815ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007ff39a815ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007ff39a815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007ff39a815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007ff39a815ff0 (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 0x00007ff39a81647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007ff39a81647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007ff39a81647b (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 0x00007ff39a81851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007ff39a81851b 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 0x00007ff39a62561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007ff39a62561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007ff39a62561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007ff39a62561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007ff39a62561d 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:26 #49 0x00007ff39a67ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007ff39a67ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007ff39a67ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007ff39a67ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007ff39a67ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007ff39a67ecbc 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:0 #55 0x00007ff39a67f767 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:0 #56 0x00007ff39a69c6f1 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 0x00007ff39a69c6f1 clang::ento::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 0x00007ff39a69dc4e clang::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 0x00007ff39a69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff39a63fac2 clang::ento::CoreEngine::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 0x00007ff39a65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007ff39a65109a clang::ento::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 0x00007ff39a94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007ff39a94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007ff39a94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007ff39a94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007ff39a94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007ff39a94e0a7 llvm::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 0x00007ff39a94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007ff39a94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007ff39a951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007ff39a951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007ff39a951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007ff39a951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007ff39a951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007ff398d0724a __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 0x00007ff398d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007ff398d0724a void clang::finalize>, 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 0x00007ff398d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007ff39a444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007ff39a3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007ff39a3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007ff39a3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007ff39a4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055bc71e30a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055bc71e3470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055bc71e36440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055bc71e2a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007ff39103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007ff39103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055bc71e2a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/false-positive-suppression.c.script: line 1: 554660 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/invalid-srcloc-fix.cpp (671 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007ff9979d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff9979ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff9979d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff996a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff9a006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007ff9a006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff9a006f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff9a006f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff9a006f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff9a006f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff9a006f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007ff9a006f83e 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 0x00007ff9a0051954 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 #13 0x00007ff9a006b6d5 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 #14 0x00007ff9a006b6d5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007ff9a006b6d5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007ff9a006b6d5 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:40 #17 0x00007ff9a009c206 clang::ento::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 #18 0x00007ff9a009dc4e clang::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 0x00007ff9a009df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff9a003fac2 clang::ento::CoreEngine::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 0x00007ff9a005109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #22 0x00007ff9a005109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #23 0x00007ff9a034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007ff9a034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007ff9a034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #26 0x00007ff9a034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #27 0x00007ff9a034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #28 0x00007ff9a034e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #29 0x00007ff9a034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #30 0x00007ff9a034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #31 0x00007ff9a0351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x00007ff9a0351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x00007ff9a0351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #34 0x00007ff9a0351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #35 0x00007ff9a0351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #36 0x00007ff99e70724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #37 0x00007ff99e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #38 0x00007ff99e70724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #39 0x00007ff99e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #40 0x00007ff99fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #41 0x00007ff99fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #42 0x00007ff99fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #43 0x00007ff99fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #44 0x00007ff99fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #45 0x000055ae34ff4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #46 0x000055ae34ff870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #47 0x000055ae34ffa440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #48 0x000055ae34fee903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #49 0x00007ff996a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #50 0x00007ff996a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #51 0x000055ae34fee945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.script: line 1: 554695 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (673 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbe98fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbe98fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbe98fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbe98054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbea1a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbea1a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbea1a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbea1a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbea1a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbea1a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbea1a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbea1a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbea16d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbea16d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbea16d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbea16d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbea16d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbea16d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbea16d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbea16d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbea16d4e65 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 #21 0x00007fbea16d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbea16d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbea16d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fbea16b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbea16b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbea16b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fbea16d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbea16d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbea16d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fbea16e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbea16e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbea16e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbea16e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbea16e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbea16e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbea16e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbea16e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbea16e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbea163da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbea163da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbea163da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbea163da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbea1b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fbea1b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fbea1b86b68 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 #46 0x00007fbea166bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fbea166bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fbea166bf90 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 #49 0x00007fbea166bf90 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 #50 0x00007fbea166bf90 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 #51 0x00007fbea166bf90 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 #52 0x00007fbea166bf90 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 #53 0x00007fbea166bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fbea166bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fbea166bf90 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 #56 0x00007fbea163f21a 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:0 #57 0x00007fbea165109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fbea165109a clang::ento::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 0x00007fbea194c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fbea194c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fbea194c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fbea194c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fbea194c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fbea194e0a7 llvm::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 0x00007fbea194e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fbea194e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fbea1951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fbea1951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fbea1951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fbea1951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fbea1951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fbe9fd0724a __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 0x00007fbe9fd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fbe9fd0724a void clang::finalize>, 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 0x00007fbe9fd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fbea1444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fbea13f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fbea13f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fbea13f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fbea14948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000560b98928a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000560b9892c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000560b9892e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000560b98922903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fbe9803ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fbe9803f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000560b98922945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macro-null-return-suppression.cpp.script: line 1: 554704 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/no-store-func-path-notes.cpp (674 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb451bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb451bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb451bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb450c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb45a27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb45a27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb45a27d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb45a27d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb45a27d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb45a27d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb45a27d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fb45a27d99e 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 0x00007fb45a23ed11 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 0x00007fb45a23fc1e 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 0x00007fb45a25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007fb45a25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007fb45a54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007fb45a54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007fb45a54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007fb45a54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007fb45a54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007fb45a54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007fb45a54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007fb45a54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007fb45a551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007fb45a551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007fb45a551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007fb45a551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007fb45a551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007fb45890724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007fb45890724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007fb45890724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007fb45890724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007fb45a044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007fb459ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007fb459ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007fb459ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007fb45a0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055fc38601a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055fc3860570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055fc38607440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055fc385fb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007fb450c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007fb450c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055fc385fb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.cpp.script: line 1: 554768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/macros.cpp (675 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4a2ebd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4a2ebceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4a2ebd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4a2dc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4a37635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4a37635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4a37635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4a37635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4a37635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4a37635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4a37635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4a37635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4a372d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4a372d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4a372d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4a372d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4a372d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4a372d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4a372d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4a372d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4a372d4e65 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 #21 0x00007f4a372d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4a372d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4a372d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4a372b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4a372b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4a372b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4a372d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4a372d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4a372d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4a372e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4a372e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4a372e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4a372e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4a372e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4a372e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4a372e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4a372e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4a372e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4a3723da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4a3723da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4a3723da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4a3723da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4a37786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4a37786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4a37786b68 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 #46 0x00007f4a37269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f4a37269db3 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 #48 0x00007f4a37269db3 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 #49 0x00007f4a3729d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f4a3729d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f4a3729d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f4a3729d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f4a3729d93e clang::ento::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 #54 0x00007f4a3729dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f4a3729df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f4a3723fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f4a3725109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4a3725109a clang::ento::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 0x00007f4a3754c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4a3754c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4a3754c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4a3754c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4a3754c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4a3754e0a7 llvm::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 0x00007f4a3754e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4a3754e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4a37551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4a37551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4a37551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4a37551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4a37551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4a3590724a __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 0x00007f4a3590724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4a3590724a void clang::finalize>, 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 0x00007f4a3590724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4a37044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4a36ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4a36ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4a36ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4a370948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000564ad103ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000564ad104070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000564ad1042440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000564ad1036903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4a2dc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4a2dc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000564ad1036945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.cpp.script: line 1: 554730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (676 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macros.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f372e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f372e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f372e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f372d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3737035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3737035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3737035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3737035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3737035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3737035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3737035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3737035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3736cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3736cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3736cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3736cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3736cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3736cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3736cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3736cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3736cd4e65 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 #21 0x00007f3736cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3736cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3736cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3736cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3736cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3736cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3736cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3736cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3736cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3736ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3736ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3736ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3736ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3736ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3736ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3736ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3736ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3736ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3736c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3736c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3736c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3736c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3737186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3737186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3737186b68 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 #46 0x00007f3736c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f3736c69db3 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 #48 0x00007f3736c69db3 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 #49 0x00007f3736c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f3736c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f3736c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f3736c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f3736c9d93e clang::ento::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 #54 0x00007f3736c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f3736c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f3736c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f3736c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3736c5109a clang::ento::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 0x00007f3736f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3736f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3736f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3736f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3736f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3736f4e0a7 llvm::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 0x00007f3736f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3736f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3736f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3736f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3736f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3736f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3736f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f373530724a __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 0x00007f373530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f373530724a void clang::finalize>, 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 0x00007f373530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3736a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f37369f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f37369f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f37369f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3736a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a4907a9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a4907ad70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a4907af440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a4907a3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f372d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f372d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a4907a3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.m.script: line 1: 554747 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-diagnostics-include-check.cpp (677 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist 1. parser at end of file #0 0x00007f532d3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f532d3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f532d3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f532c454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5335a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f5335a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5335a7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5335a7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f5335a7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f5335a7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f5335a7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f5335a7d99e 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 0x00007f5335a3ed11 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 0x00007f5335a3fc1e 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 0x00007f5335a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f5335a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f5335d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f5335d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f5335d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f5335d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f5335d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f5335d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f5335d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f5335d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f5335d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f5335d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f5335d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f5335d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f5335d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f533410724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f533410724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f533410724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f533410724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f5335844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f53357f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f53357f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f53357f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f53358948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000559d66a9ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000559d66aa070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000559d66aa2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000559d66a96903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f532c43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f532c43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000559d66a96945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.script: line 2: 554786 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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.c (678 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f38b31d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f38b31ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f38b31d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f38b2254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f38bbc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f38bbc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f38bbc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f38bbc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f38bbc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f38bbc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f38bbc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f38bbc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f38bb8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f38bb8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f38bb8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f38bb8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f38bb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f38bb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f38bb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f38bb8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f38bb8d4e65 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 #21 0x00007f38bb8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f38bb8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f38bb8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f38bb8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f38bb8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f38bb8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f38bb8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f38bb8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f38bb8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f38bb8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f38bb8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f38bb8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f38bb8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f38bb8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f38bb8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f38bb8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f38bb8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f38bb8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f38bb83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f38bb83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f38bb83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f38bb83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f38bbd86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f38bbd86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f38bbd86b68 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 #46 0x00007f38bb86bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f38bb86bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f38bb86bf90 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 #49 0x00007f38bb86bf90 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 #50 0x00007f38bb86bf90 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 #51 0x00007f38bb86bf90 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 #52 0x00007f38bb86bf90 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 #53 0x00007f38bb86bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f38bb86bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f38bb86bf90 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 #56 0x00007f38bb83f21a 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:0 #57 0x00007f38bb85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f38bb85109a clang::ento::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 0x00007f38bbb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f38bbb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f38bbb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f38bbb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f38bbb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f38bbb4e0a7 llvm::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 0x00007f38bbb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f38bbb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f38bbb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f38bbb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f38bbb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f38bbb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f38bbb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f38b9f0724a __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 0x00007f38b9f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f38b9f0724a void clang::finalize>, 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 0x00007f38b9f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f38bb644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f38bb5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f38bb5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f38bb5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f38bb6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000557b9a2c9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000557b9a2cd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000557b9a2cf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000557b9a2c3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f38b223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f38b223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000557b9a2c3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.c.script: line 1: 554764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/no-store-func-path-notes.m (679 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa03b9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa03b9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa03b9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa03aa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa044435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa044435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa044435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa044435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa044435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa044435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa044435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa044435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa0440d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa0440d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa0440d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa0440d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa0440d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa0440d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa0440d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa0440d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa0440d4e65 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 #21 0x00007fa0440d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa0440d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa0440d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa0440b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa0440b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa0440b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa0440d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa0440d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa0440d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa0440e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa0440e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa0440e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa0440e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa0440e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa0440e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa0440e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa0440e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa0440e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa04403da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa04403da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa04403da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa04403da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa04403df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa04403df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa04403df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa04400953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa04400953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa04400953e 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 #49 0x00007fa044050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa044050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa044050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fa04405149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa04405149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa04405149e 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 #55 0x00007fa04434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa04434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa04434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa04434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa04434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa04434e0a7 llvm::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 0x00007fa04434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa04434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa044351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa044351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa044351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa044351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa044351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa04270724a __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 0x00007fa04270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa04270724a void clang::finalize>, 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 0x00007fa04270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa043e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa043df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa043df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa043df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa043e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005625abcb3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005625abcb770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005625abcb9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005625abcad903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa03aa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa03aa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005625abcad945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.m.script: line 1: 554779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-diagnostics-taint-test.c (680 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-07-10 21:09:59.878033629 +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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f03719d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f03719ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f03719d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0370a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f037a429e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f037a429e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f037a429e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f037a429e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f037a429e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f037a429e48 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 0x00007f037a429e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f037a429e48 (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 0x00007f037a02561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f037a02561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f037a02561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f037a02561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f037a02561d 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:26 #17 0x00007f037a07ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f037a07ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f037a07ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f037a07ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f037a07ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f037a07ecbc 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:0 #23 0x00007f037a07f767 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:0 #24 0x00007f037a09c6f1 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 0x00007f037a09c6f1 clang::ento::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 0x00007f037a09dc4e clang::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 0x00007f037a09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f037a03fac2 clang::ento::CoreEngine::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 0x00007f037a05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f037a05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f037a34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f037a34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f037a34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f037a34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f037a34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f037a34e0a7 llvm::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 0x00007f037a34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f037a34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f037a351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f037a351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f037a351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f037a351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f037a351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f037870724a __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 0x00007f037870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f037870724a void clang::finalize>, 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 0x00007f037870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f0379e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f0379df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f0379df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f0379df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f0379e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055d712247a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055d71224b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055d71224d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055d712241903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f0370a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f0370a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055d712241945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.c (681 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f18697d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f18697ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f18697d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1868854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1871ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1871ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1871ece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1871ece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f1871ece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f1871ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f1871e6f34b 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 #11 0x00007f1871e6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f1871e6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f1871e6f34b 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:50 #14 0x00007f1871e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f1871e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f1871e3f9ea 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 #17 0x00007f1871e3fb9e 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:223:0 #18 0x00007f1871e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f1871e5109a clang::ento::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 0x00007f187214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f187214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f187214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f187214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f187214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f187214e0a7 llvm::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 0x00007f187214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f187214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f1872151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f1872151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f1872151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f1872151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f1872151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f187050724a __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 0x00007f187050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f187050724a void clang::finalize>, 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 0x00007f187050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f1871c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f1871bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f1871bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f1871bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f1871c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000056228f2f1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000056228f2f570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000056228f2f7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000056228f2eb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f186883ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f186883f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000056228f2eb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.script: line 3: 554859 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/sarif-multi-diagnostic-test.c (682 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-07-10 21:09:59.877856266 +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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f39925d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f39925ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f39925d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3991654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f399b029e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f399b029e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f399b029e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f399b029e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f399b029e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f399b029e48 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 0x00007f399b029e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f399b029e48 (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 0x00007f399ac2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f399ac2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f399ac2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f399ac2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f399ac2561d 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:26 #17 0x00007f399ac7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f399ac7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f399ac7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f399ac7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f399ac7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f399ac7ecbc 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:0 #23 0x00007f399ac7f767 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:0 #24 0x00007f399ac9c6f1 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 0x00007f399ac9c6f1 clang::ento::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 0x00007f399ac9dc4e clang::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 0x00007f399ac9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f399ac3fac2 clang::ento::CoreEngine::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 0x00007f399ac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f399ac5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f399af4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f399af4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f399af4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f399af4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f399af4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f399af4e0a7 llvm::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 0x00007f399af4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f399af4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f399af51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f399af51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f399af51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f399af51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f399af51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f399930724a __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 0x00007f399930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f399930724a void clang::finalize>, 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 0x00007f399930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f399aa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f399a9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f399a9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f399a9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f399aa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x0000561de52b9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000561de52bd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000561de52bf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000561de52b3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f399163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f399163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x0000561de52b3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/track_subexpressions.cpp (683 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/track_subexpressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f13637d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f13637ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f13637d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1362854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f136bece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f136bece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f136bece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f136bece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f136bece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f136bece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f136be6f34b 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 #11 0x00007f136be6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f136be6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f136be6f34b 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:50 #14 0x00007f136be9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f136be9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f136be3f9ea 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 #17 0x00007f136be3fb9e 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:223:0 #18 0x00007f136be5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f136be5109a clang::ento::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 0x00007f136c14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f136c14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f136c14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f136c14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f136c14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f136c14e0a7 llvm::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 0x00007f136c14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f136c14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f136c151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f136c151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f136c151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f136c151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f136c151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f136a50724a __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 0x00007f136a50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f136a50724a void clang::finalize>, 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 0x00007f136a50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f136bc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f136bbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f136bbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f136bbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f136bc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055b9449a3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055b9449a770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055b9449a9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055b94499d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f136283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f136283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055b94499d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/track_subexpressions.cpp.script: line 1: 554856 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/undef-value-param.m (684 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f16e0dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f16e0dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f16e0dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f16ea517ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f16e9835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f16e9835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f16e9835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f16e9835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f16e9835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f16e9835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f16e9835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f16e9835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f16e94d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f16e94d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f16e94d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f16e94d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f16e94d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f16e94d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f16e94d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f16e94d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f16e94d4e65 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 #21 0x00007f16e94d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f16e94d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f16e94d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f16e94b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f16e94b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f16e94b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f16e94d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f16e94d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f16e94d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f16e94e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f16e94e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f16e94e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f16e94e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f16e94e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f16e94e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f16e94e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f16e94e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f16e94e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f16e943da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f16e943da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f16e943da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f16e943da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f16e943df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f16e943df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f16e943df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f16e940953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f16e940953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f16e940953e 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 #49 0x00007f16e9450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f16e9450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f16e9450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f16e945149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f16e945149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f16e945149e 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 #55 0x00007f16e974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f16e974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f16e974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f16e974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f16e974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f16e974e0a7 llvm::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 0x00007f16e974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f16e974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f16e9751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f16e9751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f16e9751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f16e9751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f16e9751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f16e7b0724a __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 0x00007f16e7b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f16e7b0724a void clang::finalize>, 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 0x00007f16e7b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f16e9244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f16e91f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f16e91f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f16e91f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f16e92948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055b77bd4fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055b77bd5370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055b77bd55440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055b77bd49903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f16ea501f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f16ea502009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055b77bd49945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.script: line 3: 554861 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/diagnostics/text-diagnostics.c (687 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/text-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/division-by-zero-track-zero.c (688 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f27b8bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f27b8bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f27b8bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f27b7c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f27c12ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f27c12ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f27c12ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f27c12ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f27c12ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f27c12ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f27c126f34b 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 #11 0x00007f27c126f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f27c126f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f27c126f34b 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:50 #14 0x00007f27c129db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f27c129df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f27c123fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #17 0x00007f27c125109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #18 0x00007f27c125109a clang::ento::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 0x00007f27c154c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f27c154c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f27c154c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #22 0x00007f27c154c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #23 0x00007f27c154c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #24 0x00007f27c154e0a7 llvm::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 0x00007f27c154e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x00007f27c154e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #27 0x00007f27c1551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x00007f27c1551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x00007f27c1551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x00007f27c1551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x00007f27c1551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x00007f27bf90724a __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 0x00007f27bf90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x00007f27bf90724a void clang::finalize>, 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 0x00007f27bf90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x00007f27c1044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #37 0x00007f27c0ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #38 0x00007f27c0ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #39 0x00007f27c0ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #40 0x00007f27c10948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #41 0x0000563b1944ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000563b1945070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000563b19452440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000563b19446903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x00007f27b7c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #46 0x00007f27b7c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #47 0x0000563b19446945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.c.script: line 1: 554891 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/diagnostics/report-issues-within-main-file.cpp (689 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f4c89dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4c89dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4c89dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4c88e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4c92814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4c92814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4c92814a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4c92814a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4c92814a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4c92814a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4c92814a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4c92814a5e (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 0x00007f4c925e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f4c925e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f4c925e8fd5 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 0x00007f4c9242397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f4c9242397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f4c9242397a 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:29 #18 0x00007f4c9242397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f4c924e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f4c924e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f4c924e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f4c924e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f4c924e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f4c924e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f4c924e9060 clang::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 0x00007f4c9243db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f4c9243db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f4c9243db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f4c9243db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f4c92986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f4c92986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f4c92986b68 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 0x00007f4c92615ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f4c92615ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f4c92615ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f4c92615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f4c92615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f4c92615ff0 (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 0x00007f4c92620f4d llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f4c92620f4d llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f4c92620f4d processNewAllocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1620:0 #42 0x00007f4c92620f4d checkNewAllocator /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1629:0 #43 0x00007f4c92620f4d void clang::ento::check::NewAllocator::_checkNewAllocator<(anonymous namespace)::MallocChecker>(void*, clang::ento::CXXAllocatorCall const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:290:0 #44 0x00007f4c92424a44 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f4c92424a44 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f4c92424a44 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f4c92424a44 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:525:58 #48 0x00007f4c92424a44 expandGraphWithCheckers<(anonymous namespace)::CheckNewAllocatorContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #49 0x00007f4c92424a44 clang::ento::CheckerManager::runCheckersForNewAllocator(clang::ento::CXXAllocatorCall const&, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:540:26 #50 0x00007f4c924973ec 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:990:0 #51 0x00007f4c924977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #52 0x00007f4c924977b2 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 #53 0x00007f4c9249dfaf clang::ento::ExprEngine::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 #54 0x00007f4c9243fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x00007f4c9245109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f4c9245109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f4c9274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f4c9274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f4c9274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f4c9274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f4c9274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f4c9274e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f4c9274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f4c9274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f4c92751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f4c92751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f4c92751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f4c92751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f4c92751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f4c90b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f4c90b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f4c90b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f4c90b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f4c92244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f4c921f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f4c921f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f4c921f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f4c922948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055f8618e6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055f8618ea70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055f8618ec440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055f8618e0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f4c88e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f4c88e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055f8618e0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.script: line 2: 554805 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.cpp (691 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2adc7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2adc7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2adc7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2adb854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2ae4ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f2ae4ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f2ae4ece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f2ae4ece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f2ae4ece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f2ae4ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f2ae4e6f34b 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 #11 0x00007f2ae4e6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f2ae4e6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f2ae4e6f34b 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:50 #14 0x00007f2ae4e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f2ae4e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f2ae4e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #17 0x00007f2ae4e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #18 0x00007f2ae4e5109a clang::ento::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 0x00007f2ae514c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f2ae514c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f2ae514c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #22 0x00007f2ae514c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #23 0x00007f2ae514c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #24 0x00007f2ae514e0a7 llvm::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 0x00007f2ae514e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x00007f2ae514e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #27 0x00007f2ae5151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x00007f2ae5151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x00007f2ae5151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x00007f2ae5151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x00007f2ae5151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x00007f2ae350724a __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 0x00007f2ae350724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x00007f2ae350724a void clang::finalize>, 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 0x00007f2ae350724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x00007f2ae4c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #37 0x00007f2ae4bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #38 0x00007f2ae4bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #39 0x00007f2ae4bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #40 0x00007f2ae4c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #41 0x000055899db34a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x000055899db3870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x000055899db3a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x000055899db2e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x00007f2adb83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #46 0x00007f2adb83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #47 0x000055899db2e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.cpp.script: line 1: 554898 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dispatch-once.m (693 of 19712) ******************** TEST 'Clang :: Analysis/dispatch-once.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3d9cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3d9cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3d9cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3d9bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3da5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3da5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3da5635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3da5635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3da5635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3da5635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3da5635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3da5635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3da52d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3da52d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3da52d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3da52d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3da52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3da52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3da52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3da52d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3da52d4e65 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 #21 0x00007f3da52d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3da52d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3da52d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3da52b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3da52b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3da52b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3da52d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3da52d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3da52d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3da52e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3da52e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3da52e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3da52e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3da52e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3da52e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3da52e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3da52e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3da52e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3da523da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3da523da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3da523da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3da523da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3da5786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3da5786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3da5786b68 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 #46 0x00007f3da5269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f3da5269db3 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 #48 0x00007f3da5269db3 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 #49 0x00007f3da529d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f3da529d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f3da529d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f3da529d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f3da529d93e clang::ento::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 #54 0x00007f3da529dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f3da529df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f3da523fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f3da525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3da525109a clang::ento::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 0x00007f3da554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3da554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3da554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3da554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3da554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3da554e0a7 llvm::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 0x00007f3da554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3da554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3da5551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3da5551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3da5551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3da5551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3da5551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f3da390724a __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 0x00007f3da390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f3da390724a void clang::finalize>, 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 0x00007f3da390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3da5044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f3da4ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f3da4ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f3da4ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3da50948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056386c72da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056386c73170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056386c733440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056386c727903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f3d9bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f3d9bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056386c727945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dispatch-once.m.script: line 2: 554871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/div-zero.cpp (696 of 19712) ******************** TEST 'Clang :: Analysis/div-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb69a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb69a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb69a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb699a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb6a3435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb6a3435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb6a3435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb6a3435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb6a3435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb6a3435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb6a3435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb6a3435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb6a30d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb6a30d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb6a30d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb6a30d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb6a30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb6a30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb6a30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb6a30d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb6a30d4e65 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 #21 0x00007fb6a30d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb6a30d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb6a30d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb6a30b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb6a30b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb6a30b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb6a30d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb6a30d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb6a30d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb6a30e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb6a30e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb6a30e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb6a30e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb6a30e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb6a30e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb6a30e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb6a30e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb6a30e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb6a303da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb6a303da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb6a303da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb6a303da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb6a3586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb6a3586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb6a3586b68 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 #46 0x00007fb6a3069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb6a3069db3 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 #48 0x00007fb6a3069db3 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 #49 0x00007fb6a309d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fb6a309d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fb6a309d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fb6a309d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fb6a309d93e clang::ento::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 #54 0x00007fb6a309dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fb6a309df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fb6a303fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fb6a305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb6a305109a clang::ento::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 0x00007fb6a334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb6a334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb6a334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb6a334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb6a334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb6a334e0a7 llvm::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 0x00007fb6a334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb6a334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb6a3351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb6a3351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb6a3351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb6a3351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb6a3351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb6a170724a __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 0x00007fb6a170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb6a170724a void clang::finalize>, 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 0x00007fb6a170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb6a2e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb6a2df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb6a2df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb6a2df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb6a2e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005601d54a9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005601d54ad70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005601d54af440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005601d54a3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb699a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb699a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005601d54a3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/div-zero.cpp.script: line 1: 554886 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dtor-cxx11.cpp (700 of 19712) ******************** TEST 'Clang :: Analysis/dtor-cxx11.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa6e27d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa6e27ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa6e27d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa6e1854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa6eae72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa6eae72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa6eae72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa6eae72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fa6eae72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fa6eae72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fa6eae72b29 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:89 #11 0x00007fa6eae72e8c 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 #12 0x00007fa6eae72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fa6eae72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fa6eae72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fa6eae72e8c 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:53 #16 0x00007fa6eae731e0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007fa6eae731e0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007fa6eae731e0 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:63 #19 0x00007fa6eae9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007fa6eae9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007fa6eae9a404 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 #22 0x00007fa6eae9a404 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 #23 0x00007fa6eae9c69e 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 0x00007fa6eae9c69e clang::ento::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 #25 0x00007fa6eae9dc4e clang::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 0x00007fa6eae9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa6eae3f9ea 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 #28 0x00007fa6eae3fb9e 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:223:0 #29 0x00007fa6eae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007fa6eae5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007fa6eb14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fa6eb14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fa6eb14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007fa6eb14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007fa6eb14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007fa6eb14e0a7 llvm::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 0x00007fa6eb14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007fa6eb14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007fa6eb151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007fa6eb151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007fa6eb151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007fa6eb151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007fa6eb151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007fa6e950724a __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 0x00007fa6e950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007fa6e950724a void clang::finalize>, 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 0x00007fa6e950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007fa6eac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007fa6eabf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007fa6eabf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007fa6eabf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007fa6eac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055ee2fe07a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055ee2fe0b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055ee2fe0d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055ee2fe01903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007fa6e183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007fa6e183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055ee2fe01945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-cxx11.cpp.script: line 1: 554935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/division-by-zero.c (701 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f52f7dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f52f7dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f52f7dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f52f6e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5300835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5300835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5300835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5300835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5300835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5300835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5300835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5300835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f53004d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f53004d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f53004d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f53004d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f53004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f53004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f53004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f53004d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f53004d4932 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 #21 0x00007f53004d4932 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f53004d4932 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f53004d4932 (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:31 #24 0x00007f53004b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f53004b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f53004b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f53004d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f53004d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f53004d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f53004e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f53004e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f53004e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f53004e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f53004e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f53004e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f53004e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f53004e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f53004e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f530043da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f530043da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f530043da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f530043da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5300986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5300986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5300986b68 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 #46 0x00007f5300469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f5300469db3 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 #48 0x00007f5300469db3 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 #49 0x00007f530049d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f530049d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f530049d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f530049d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f530049d93e clang::ento::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 #54 0x00007f530049dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f530049df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f530043fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f530045109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f530045109a clang::ento::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 0x00007f530074c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f530074c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f530074c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f530074c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f530074c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f530074e0a7 llvm::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 0x00007f530074e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f530074e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5300751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5300751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5300751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5300751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5300751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f52feb0724a __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 0x00007f52feb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f52feb0724a void clang::finalize>, 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 0x00007f52feb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5300244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f53001f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f53001f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f53001f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f53002948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055c725438a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055c72543c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055c72543e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055c725432903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f52f6e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f52f6e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055c725432945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero.c.script: line 1: 554905 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (709 of 19712) ******************** TEST 'Clang :: Analysis/double-ranges-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8470fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8470fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8470fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8470054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8479a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8479a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8479a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8479a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8479a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8479a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8479a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8479a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f84796d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f84796d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f84796d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f84796d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f84796d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f84796d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f84796d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f84796d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f84796d4e65 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 #21 0x00007f84796d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f84796d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f84796d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f84796b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f84796b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f84796b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f84796d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f84796d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f84796d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f84796e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f84796e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f84796e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f84796e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f84796e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f84796e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f84796e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f84796e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f84796e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f847963da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f847963da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f847963da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f847963da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8479b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8479b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8479b86b68 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 #46 0x00007f847977f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f847977f794 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:0 #48 0x00007f847977f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f847977f794 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:0 #50 0x00007f847961b7ad 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:5 #51 0x00007f8479668471 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 #52 0x00007f8479668471 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 #53 0x00007f8479669840 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 #54 0x00007f8479669840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f8479669840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f8479669840 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 #57 0x00007f8479677a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f8479677a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f8479677a6a 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:15 #60 0x00007f847969bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f847969bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f847969bf62 clang::ento::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 #63 0x00007f847969dc4e clang::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 0x00007f847969df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f847963fac2 clang::ento::CoreEngine::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 0x00007f847965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f847965109a clang::ento::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 0x00007f847994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f847994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f847994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f847994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f847994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f847994e0a7 llvm::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 0x00007f847994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f847994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f8479951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f8479951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f8479951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f8479951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f8479951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f8477d0724a __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 0x00007f8477d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f8477d0724a void clang::finalize>, 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 0x00007f8477d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f8479444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f84793f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f84793f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f84793f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f84794948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x00005615f64bba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x00005615f64bf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x00005615f64c1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x00005615f64b5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f847003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f847003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x00005615f64b5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/double-ranges-bug.c.script: line 1: 554923 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-array.cpp (711 of 19712) ******************** TEST 'Clang :: Analysis/dtor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3f42dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3f42dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3f42dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3f41e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3f4b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3f4b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3f4b835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3f4b835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3f4b835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3f4b835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3f4b835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3f4b835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3f4b4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3f4b4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3f4b4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3f4b4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3f4b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3f4b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3f4b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3f4b4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3f4b4d4e65 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 #21 0x00007f3f4b4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3f4b4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3f4b4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3f4b4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3f4b4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3f4b4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3f4b4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3f4b4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3f4b4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3f4b4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3f4b4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3f4b4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3f4b4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3f4b4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3f4b4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3f4b4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3f4b4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3f4b4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3f4b43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3f4b43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3f4b43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3f4b43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3f4b43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f3f4b43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f3f4b43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f3f4b497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f3f4b497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f3f4b497620 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 #49 0x00007f3f4b497620 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 #50 0x00007f3f4b4977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f3f4b4977b2 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 0x00007f3f4b49dfaf clang::ento::ExprEngine::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 0x00007f3f4b43f9ea 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 0x00007f3f4b43fb9e 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:223:0 #55 0x00007f3f4b45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f3f4b45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f3f4b74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f3f4b74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f3f4b74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f3f4b74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f3f4b74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f3f4b74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f3f4b74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f3f4b74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f3f4b751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f3f4b751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f3f4b751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f3f4b751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f3f4b751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f3f49b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f3f49b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f3f49b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f3f49b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f3f4b244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f3f4b1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f3f4b1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f3f4b1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f3f4b2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055f872de3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055f872de770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055f872de9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055f872ddd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f3f41e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f3f41e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055f872ddd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-array.cpp.script: line 2: 554933 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dump_egraph.cpp (712 of 19712) ******************** TEST 'Clang :: Analysis/dump_egraph.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fb024bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb024bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb024bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb023c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb02d26efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb02d26efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb02d26efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb02d26efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fb02d26efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fb02d26efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fb02d26efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fb02d26efd6 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 0x00007fb02d29db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fb02d29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fb02d23f9ea 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 #15 0x00007fb02d23fb9e 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:223:0 #16 0x00007fb02d25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fb02d25109a clang::ento::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 0x00007fb02d54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fb02d54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fb02d54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fb02d54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fb02d54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fb02d54e0a7 llvm::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 0x00007fb02d54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fb02d54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fb02d551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fb02d551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fb02d551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fb02d551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fb02d551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fb02b90724a __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 0x00007fb02b90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fb02b90724a void clang::finalize>, 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 0x00007fb02b90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fb02d044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fb02cff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fb02cff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fb02cff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fb02d0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x00005621a8c58a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x00005621a8c5c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x00005621a8c5e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x00005621a8c52903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fb023c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fb023c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x00005621a8c52945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.script: line 2: 554982 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (715 of 19712) ******************** TEST 'Clang :: Analysis/dynamic-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f77807d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f77807ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f77807d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f777f854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7789235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7789235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7789235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7789235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7789235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7789235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7789235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7789235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7788ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7788ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7788ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7788ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7788ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7788ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7788ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7788ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7788ed4e65 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 #21 0x00007f7788ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7788ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7788ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7788eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7788eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7788eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7788ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7788ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7788ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7788ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7788ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7788ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7788ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7788ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7788ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7788ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7788ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7788ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7788e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7788e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7788e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7788e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7788e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7788e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7788e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7788e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7788e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7788e0953e 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 #49 0x00007f7788e50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f7788e50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f7788e50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f7788e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f7788e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f7788e5149e 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 #55 0x00007f778914c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f778914c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f778914c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f778914c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f778914c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f778915b206 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #61 0x00007f778915b206 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #62 0x00007f778915b206 WalkUpFromCXXDeductionGuideDecl /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:437:0 #63 0x00007f778915b206 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseCXXDeductionGuideDecl(clang::CXXDeductionGuideDecl*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2233:0 #64 0x00007f7789151eda clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDeclContextHelper(clang::DeclContext*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:1489:0 #65 0x00007f778914fbe2 TraverseCXXRecordDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2015:0 #66 0x00007f778914fbe2 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:295:0 #67 0x00007f7789151a65 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #68 0x00007f7789151a65 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f778750724a __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 0x00007f778750724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f778750724a void clang::finalize>, 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 0x00007f778750724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f7788c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f7788bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f7788bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f7788bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f7788c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000559a6b5d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000559a6b5d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000559a6b5d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000559a6b5ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f777f83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f777f83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000559a6b5ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dynamic-cast.cpp.script: line 1: 555000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (716 of 19712) ******************** TEST 'Clang :: Analysis/end-function-return-stmt.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:377: note: scanning from here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f213bfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #1 0x00007f213bfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #2 0x00007f213bfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #3 0x00007f213b054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor.cpp (717 of 19712) ******************** TEST 'Clang :: Analysis/dtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f01f67d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f01f67ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f01f67d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f01f5854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f01ff235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f01ff235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f01ff235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f01ff235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f01ff235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f01ff235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f01ff235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f01ff235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f01feed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f01feed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f01feed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f01feed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f01feed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f01feed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f01feed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f01feed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f01feed4e65 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 #21 0x00007f01feed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f01feed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f01feed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f01feeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f01feeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f01feeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f01feed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f01feed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f01feed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f01feee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f01feee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f01feee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f01feee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f01feee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f01feee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f01feee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f01feee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f01feee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f01fee3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f01fee3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f01fee3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f01fee3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f01ff386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f01ff386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f01ff386b68 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 #46 0x00007f01ff015ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f01ff015ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f01ff015ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f01ff015ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f01ff015ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f01ff015ff0 (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 #52 0x00007f01ff01647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #53 0x00007f01ff01647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f01ff01647b (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 #55 0x00007f01ff01851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #56 0x00007f01ff01851b 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 #57 0x00007f01fee2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x00007f01fee2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f01fee2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x00007f01fee2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x00007f01fee2561d 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:26 #62 0x00007f01fee7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #63 0x00007f01fee7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #64 0x00007f01fee7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #65 0x00007f01fee7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #66 0x00007f01fee7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #67 0x00007f01fee7ecbc 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:0 #68 0x00007f01fee7f767 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:0 #69 0x00007f01fee9c6f1 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 #70 0x00007f01fee9c6f1 clang::ento::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 #71 0x00007f01fee9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #72 0x00007f01fee9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #73 0x00007f01fee3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #74 0x00007f01fee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #75 0x00007f01fee5109a clang::ento::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 0x00007f01ff14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #77 0x00007f01ff14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #78 0x00007f01ff14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #79 0x00007f01ff14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #80 0x00007f01ff14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #81 0x00007f01ff14e0a7 llvm::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 0x00007f01ff14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x00007f01ff14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #84 0x00007f01ff151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x00007f01ff151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x00007f01ff151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x00007f01ff151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x00007f01ff151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x00007f01fd50724a __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 0x00007f01fd50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x00007f01fd50724a void clang::finalize>, 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 0x00007f01fd50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x00007f01fec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #94 0x00007f01febf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #95 0x00007f01febf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #96 0x00007f01febf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #97 0x00007f01fec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #98 0x000055be82a57a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x000055be82a5b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x000055be82a5d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x000055be82a51903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x00007f01f583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #103 0x00007f01f583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #104 0x000055be82a51945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor.cpp.script: line 1: 554949 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/engine/replay-without-inlining.c (718 of 19712) ******************** TEST 'Clang :: Analysis/engine/replay-without-inlining.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f64345d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f64345ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f64345d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6433654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f643ccce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f643ccce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f643ccce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f643ccce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f643ccce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f643ccce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f643cc6f34b 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 #11 0x00007f643cc6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f643cc6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f643cc6f34b 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:50 #14 0x00007f643cc9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f643cc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f643cc3f9ea 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 #17 0x00007f643cc3fb9e 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:223:0 #18 0x00007f643cc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f643cc5109a clang::ento::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 0x00007f643cf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f643cf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f643cf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f643cf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f643cf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f643cf4e0a7 llvm::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 0x00007f643cf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f643cf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f643cf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f643cf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f643cf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f643cf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f643cf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f643b30724a __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 0x00007f643b30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f643b30724a void clang::finalize>, 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 0x00007f643b30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f643ca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f643c9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f643c9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f643c9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f643ca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055cf51bc1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055cf51bc570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055cf51bc7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055cf51bbb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f643363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f643363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055cf51bbb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/engine/Output/replay-without-inlining.c.script: line 1: 555040 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-cast-out-of-range.cpp (719 of 19712) ******************** TEST 'Clang :: Analysis/enum-cast-out-of-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 2. While analyzing stack: #0 Calling rangeConstrained7(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp:192:21: Error evaluating statement #0 0x00007faf2c3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007faf2c3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007faf2c3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007faf2b454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faf34ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007faf34ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007faf34ace1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007faf34ace1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007faf34ace1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007faf34ace1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007faf34a6f34b 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 #11 0x00007faf34a6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007faf34a6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007faf34a6f34b 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:50 #14 0x00007faf34a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007faf34a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007faf34a3f9ea 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 #17 0x00007faf34a3fb9e 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:223:0 #18 0x00007faf34a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007faf34a5109a clang::ento::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 0x00007faf34d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007faf34d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007faf34d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007faf34d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007faf34d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007faf34d4e0a7 llvm::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 0x00007faf34d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007faf34d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007faf34d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007faf34d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007faf34d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007faf34d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007faf34d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007faf3310724a __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 0x00007faf3310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007faf3310724a void clang::finalize>, 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 0x00007faf3310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007faf34844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007faf347f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007faf347f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007faf347f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007faf348948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055d47d05ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055d47d05f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055d47d061440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055d47d055903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007faf2b43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007faf2b43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055d47d055945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum-cast-out-of-range.cpp.script: line 1: 555053 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/edges-new.mm (722 of 19712) ******************** TEST 'Clang :: Analysis/edges-new.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f9b66dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9b66dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9b66dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9b65e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9b6f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9b6f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9b6f835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9b6f835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9b6f835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9b6f835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9b6f835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9b6f835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9b6f4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9b6f4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9b6f4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9b6f4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9b6f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9b6f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9b6f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9b6f4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9b6f4d4e65 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 #21 0x00007f9b6f4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9b6f4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9b6f4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9b6f4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9b6f4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9b6f4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9b6f4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9b6f4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9b6f4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9b6f4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9b6f4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9b6f4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9b6f4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9b6f4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9b6f4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9b6f4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9b6f4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9b6f4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9b6f43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9b6f43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9b6f43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9b6f43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9b6f43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f9b6f43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f9b6f43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f9b6f40953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f9b6f40953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f9b6f40953e 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 #49 0x00007f9b6f450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f9b6f450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f9b6f450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f9b6f45149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f9b6f45149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f9b6f45149e 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 #55 0x00007f9b6f74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f9b6f74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f9b6f74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f9b6f74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f9b6f74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f9b6f74e0a7 llvm::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 0x00007f9b6f74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f9b6f74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f9b6f751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f9b6f751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f9b6f751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f9b6f751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f9b6f751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f9b6db0724a __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 0x00007f9b6db0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f9b6db0724a void clang::finalize>, 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 0x00007f9b6db0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f9b6f244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f9b6f1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f9b6f1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f9b6f1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f9b6f2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000560b7288aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000560b7288e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000560b72890440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000560b72884903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f9b65e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f9b65e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000560b72884945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.script: line 2: 555012 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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.cpp (723 of 19712) ******************** TEST 'Clang :: Analysis/enum.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9547bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9547bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9547bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9546c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9550635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9550635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9550635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9550635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9550635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9550635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9550635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9550635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f95502d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f95502d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f95502d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f95502d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f95502d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f95502d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f95502d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f95502d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f95502d58b5 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 #21 0x00007f95502d58b5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f95502d58b5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f95502d58b5 (anonymous namespace)::RangeConstraintManager::assumeSymOutsideInclusiveRange(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:3233:34 #24 0x00007f95502d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f95502d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f95502d6a41 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 #27 0x00007f95502b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f95502b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f95502b415f 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 #30 0x00007f955023e3a2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f955023e3a2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f955023e3a2 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f955023e3a2 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:84:0 #34 0x00007f955026cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f955026cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f955026cbca 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 #37 0x00007f955026cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f955023f712 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 #39 0x00007f955025109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f955025109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f955054c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f955054c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f955054c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f955054c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f955054c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f955054e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f955054e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f955054e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f9550551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f9550551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f9550551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f9550551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f9550551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f954e90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f954e90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f954e90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f954e90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f9550044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f954fff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f954fff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f954fff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f95500948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000055d62a21ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000055d62a21f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000055d62a221440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000055d62a215903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f9546c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f9546c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x000055d62a215945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum.cpp.script: line 1: 555052 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/errno-notes.c (724 of 19712) ******************** TEST 'Clang :: Analysis/errno-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f860add0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f860adceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f860add1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8609e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f86134e0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f86134e0599 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 0x00007f86134e0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f86134e0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f86134e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f86134e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f86134e0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f86134e0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f86134e0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f86134e0599 (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 0x00007f86134e0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f86134e0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f86134e0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f86134e0c5d (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 #18 0x00007f86134b84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f86134b84a7 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:68 #20 0x00007f8613597ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f8613597ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f8613597ac2 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:29 #23 0x00007f861359c72f 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 #24 0x00007f861359c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f861359c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f861359c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007f861359c72f 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:51 #28 0x00007f861341ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f861341ae16 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:26 #30 0x00007f86134513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f86134513ec 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:0 #32 0x00007f86134513ec 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 #33 0x00007f861374c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f861374c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f861374c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f861374c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f861374c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f861374e0a7 llvm::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 0x00007f861374e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f861374e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f8613751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f8613751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f8613751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f8613751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f8613751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f8611b0724a __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 0x00007f8611b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f8611b0724a void clang::finalize>, 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 0x00007f8611b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f8613244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f86131f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f86131f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f86131f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f86132948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000056251ba13a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000056251ba1770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000056251ba19440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000056251ba0d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f8609e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f8609e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x000056251ba0d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-notes.c.script: line 2: 555068 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/equality_tracking.c (725 of 19712) ******************** TEST 'Clang :: Analysis/equality_tracking.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating statement #0 0x00007f8250dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8250dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8250dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f825a520ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f82594c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f82594c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f82594c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f82594c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f82594c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f82594c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f82594c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f82594c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f82594c6be6 (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 0x00007f82594c7048 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 #14 0x00007f82594c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f82594c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f82594c7048 (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 #17 0x00007f82594dcefe llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f82594dcefe llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f82594dcefe 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 #20 0x00007f8259469a74 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 #21 0x00007f8259477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #22 0x00007f8259477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8259477a6a 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:15 #24 0x00007f825949bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #25 0x00007f825949bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #26 0x00007f825949bf62 clang::ento::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 #27 0x00007f825949dc4e clang::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 0x00007f825949df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f825943fac2 clang::ento::CoreEngine::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 0x00007f825945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007f825945109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007f825974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f825974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f825974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007f825974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007f825974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007f825974e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007f825974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007f825974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007f8259751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007f8259751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007f8259751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007f8259751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007f8259751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007f8257b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007f8257b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007f8257b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007f8257b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007f8259244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007f82591f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007f82591f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007f82591f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007f82592948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x000055d820874a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x000055d82087870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x000055d82087a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x000055d82086e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007f825a50af50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007f825a50b009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x000055d82086e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/equality_tracking.c.script: line 1: 555058 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-options.c (726 of 19712) ******************** TEST 'Clang :: Analysis/errno-options.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fed0e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fed0e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fed0e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fed0d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fed16ce0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007fed16ce0599 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 0x00007fed16ce0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007fed16ce0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007fed16ce0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007fed16ce0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007fed16ce0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007fed16ce0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007fed16ce0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007fed16ce0599 (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 0x00007fed16ce0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007fed16ce0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007fed16ce0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007fed16ce0c5d (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 #18 0x00007fed16cb84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007fed16cb84a7 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:68 #20 0x00007fed16d97ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007fed16d97ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007fed16d97ac2 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:29 #23 0x00007fed16d9c72f 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 #24 0x00007fed16d9c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007fed16d9c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fed16d9c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007fed16d9c72f 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:51 #28 0x00007fed16c1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007fed16c1ae16 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:26 #30 0x00007fed16c513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007fed16c513ec 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:0 #32 0x00007fed16c513ec 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 #33 0x00007fed16f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fed16f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fed16f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007fed16f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007fed16f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007fed16f4e0a7 llvm::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 0x00007fed16f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007fed16f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007fed16f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007fed16f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007fed16f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007fed16f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007fed16f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007fed1530724a __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 0x00007fed1530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007fed1530724a void clang::finalize>, 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 0x00007fed1530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007fed16a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007fed169f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007fed169f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007fed169f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007fed16a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x0000560fca762a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000560fca76670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000560fca768440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000560fca75c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007fed0d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007fed0d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x0000560fca75c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-options.c.script: line 2: 555083 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (728 of 19712) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f10271d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f10271ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f10271d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1026254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f102f8e0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f102f8e0599 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 0x00007f102f8e0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f102f8e0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f102f8e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f102f8e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f102f8e0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f102f8e0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f102f8e0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f102f8e0599 (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 0x00007f102f8e0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f102f8e0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f102f8e0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f102f8e0c5d (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 #18 0x00007f102f8b84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f102f8b84a7 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:68 #20 0x00007f102f997ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f102f997ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f102f997ac2 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:29 #23 0x00007f102f99c72f 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 #24 0x00007f102f99c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f102f99c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f102f99c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007f102f99c72f 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:51 #28 0x00007f102f81ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f102f81ae16 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:26 #30 0x00007f102f8513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f102f8513ec 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:0 #32 0x00007f102f8513ec 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 #33 0x00007f102fb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f102fb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f102fb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f102fb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f102fb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f102fb4e0a7 llvm::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 0x00007f102fb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f102fb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f102fb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f102fb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f102fb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f102fb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f102fb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f102df0724a __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 0x00007f102df0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f102df0724a void clang::finalize>, 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 0x00007f102df0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f102f644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f102f5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f102f5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f102f5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f102f6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000056328911da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000056328912170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000563289123440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000563289117903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f102623ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f102623f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x0000563289117945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions-notes.c.script: line 1: 555103 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (729 of 19712) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f77975d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f77975ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f77975d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7796654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f779fce0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f779fce0599 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 0x00007f779fce0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f779fce0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f779fce0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f779fce0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f779fce0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f779fce0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f779fce0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f779fce0599 (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 0x00007f779fce0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f779fce0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f779fce0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f779fce0c5d (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 #18 0x00007f779fcb84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f779fcb84a7 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:68 #20 0x00007f779fd97ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f779fd97ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f779fd97ac2 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:29 #23 0x00007f779fd9c72f 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 #24 0x00007f779fd9c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f779fd9c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f779fd9c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007f779fd9c72f 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:51 #28 0x00007f779fc1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f779fc1ae16 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:26 #30 0x00007f779fc513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f779fc513ec 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:0 #32 0x00007f779fc513ec 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 #33 0x00007f779ff4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f779ff4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f779ff4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f779ff4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f779ff4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f779ff4e0a7 llvm::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 0x00007f779ff4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f779ff4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f779ff51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f779ff51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f779ff51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f779ff51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f779ff51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f779e30724a __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 0x00007f779e30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f779e30724a void clang::finalize>, 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 0x00007f779e30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f779fa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f779f9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f779f9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f779f9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f779fa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x0000563def31da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000563def32170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000563def323440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000563def317903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f779663ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f779663f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x0000563def317945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions.c.script: line 1: 555109 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (730 of 19712) ******************** TEST 'Clang :: Analysis/errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2f687d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2f687ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2f687d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2f67854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2f70ee0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f2f70ee0599 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 0x00007f2f70ee0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f2f70ee0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f2f70ee0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f2f70ee0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f2f70ee0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f2f70ee0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f2f70ee0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f2f70ee0599 (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 0x00007f2f70ee0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f2f70ee0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f2f70ee0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f2f70ee0c5d (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 #18 0x00007f2f70eb84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f2f70eb84a7 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:68 #20 0x00007f2f70f97ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f2f70f97ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f2f70f97ac2 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:29 #23 0x00007f2f70f9c72f 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 #24 0x00007f2f70f9c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f2f70f9c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2f70f9c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007f2f70f9c72f 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:51 #28 0x00007f2f70e1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f2f70e1ae16 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:26 #30 0x00007f2f70e513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f2f70e513ec 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:0 #32 0x00007f2f70e513ec 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 #33 0x00007f2f7114c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f2f7114c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f2f7114c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f2f7114c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f2f7114c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f2f7114e0a7 llvm::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 0x00007f2f7114e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f2f7114e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f2f71151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f2f71151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f2f71151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f2f71151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f2f71151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f2f6f50724a __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 0x00007f2f6f50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f2f6f50724a void clang::finalize>, 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 0x00007f2f6f50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f2f70c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f2f70bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f2f70bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f2f70bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f2f70c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000055fb5419ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000055fb541a070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000055fb541a2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000055fb54196903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f2f6783ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f2f6783f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x000055fb54196945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno.c.script: line 2: 555116 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (731 of 19712) ******************** TEST 'Clang :: Analysis/eval-predefined-exprs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f01293d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f01293ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f01293d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0128454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0131e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0131e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0131e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0131e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0131e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0131e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0131e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0131e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0131ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0131ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0131ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0131ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0131ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0131ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0131ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0131ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0131ad4e65 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 #21 0x00007f0131ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0131ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0131ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0131ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0131ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0131ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0131ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0131ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0131ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0131ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0131ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0131ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0131ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0131ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0131ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0131ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0131ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0131ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0131a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0131a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0131a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0131a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0131a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f0131a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f0131a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f0131a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f0131a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f0131a0953e 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 #49 0x00007f0131a50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f0131a50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f0131a50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f0131a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f0131a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f0131a5149e 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 #55 0x00007f0131d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f0131d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f0131d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f0131d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f0131d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f0131d4e0a7 llvm::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 0x00007f0131d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f0131d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f0131d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f0131d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f0131d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f0131d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f0131d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f013010724a __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 0x00007f013010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f013010724a void clang::finalize>, 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 0x00007f013010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f0131844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f01317f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f01317f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f01317f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f01318948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000557239886a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055723988a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055723988c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000557239880903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f012843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f012843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000557239880945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/eval-predefined-exprs.cpp.script: line 2: 555129 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (733 of 19712) ******************** TEST 'Clang :: Analysis/exceptions.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb6149d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb6149ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb6149d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb613a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb61d414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb61d414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb61d414a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb61d414a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb61d414a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb61d414a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb61d414a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb61d414a5e (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 0x00007fb61d1e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fb61d1e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb61d1e8fd5 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 0x00007fb61d02397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fb61d02397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fb61d02397a 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:29 #18 0x00007fb61d02397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fb61d0e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fb61d0e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fb61d0e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fb61d0e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fb61d0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fb61d0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fb61d0e9060 clang::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 0x00007fb61d03db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fb61d03db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fb61d03db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fb61d03db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fb61d586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fb61d586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fb61d586b68 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 0x00007fb61d215ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fb61d215ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fb61d215ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fb61d215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fb61d215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fb61d215ff0 (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 0x00007fb61d21647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fb61d21647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fb61d21647b (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 0x00007fb61d21851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007fb61d21851b 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 0x00007fb61d02561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fb61d02561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fb61d02561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fb61d02561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fb61d02561d 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:26 #49 0x00007fb61d07ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fb61d07ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fb61d07ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fb61d07ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fb61d07ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fb61d07ecbc 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:0 #55 0x00007fb61d07f767 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:0 #56 0x00007fb61d09c6f1 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 0x00007fb61d09c6f1 clang::ento::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 0x00007fb61d09dc4e clang::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 0x00007fb61d09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb61d03fac2 clang::ento::CoreEngine::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 0x00007fb61d05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fb61d05109a clang::ento::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 0x00007fb61d34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fb61d34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fb61d34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fb61d34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fb61d34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fb61d34e0a7 llvm::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 0x00007fb61d34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fb61d34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fb61d351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fb61d351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fb61d351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fb61d351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fb61d351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fb61b70724a __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 0x00007fb61b70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fb61b70724a void clang::finalize>, 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 0x00007fb61b70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fb61ce44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fb61cdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fb61cdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fb61cdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fb61ce948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000056281a199a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000056281a19d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000056281a19f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000056281a193903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fb613a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fb613a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000056281a193945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/exceptions.mm.script: line 1: 555144 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (734 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4bf7bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4bf7bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4bf7bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4bf6c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4c00635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4c00635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4c00635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4c00635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4c00635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4c00635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4c00635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4c00635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4c002d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4c002d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4c002d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4c002d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4c002d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4c002d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4c002d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4c002d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4c002d4e65 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 #21 0x00007f4c002d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4c002d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4c002d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4c002b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4c002b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4c002b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4c002d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4c002d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4c002d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4c002e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4c002e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4c002e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4c002e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4c002e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4c002e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4c002e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4c002e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4c002e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4c0023da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4c0023da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4c0023da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4c0023da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4c0023df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4c0023df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4c0023df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4c0020953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4c0020953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4c0020953e 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 #49 0x00007f4c00250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f4c00250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f4c00250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f4c0025149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f4c0025149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4c0025149e 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 #55 0x00007f4c0054c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4c0054c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4c0054c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4c0054c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4c0054c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4c0054e0a7 llvm::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 0x00007f4c0054e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4c0054e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4c00551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4c00551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4c00551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4c00551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4c00551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f4bfe90724a __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 0x00007f4bfe90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f4bfe90724a void clang::finalize>, 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 0x00007f4bfe90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4c00044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f4bffff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f4bffff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f4bffff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4c000948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000559c647a3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000559c647a770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000559c647a9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000559c6479d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f4bf6c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f4bf6c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000559c6479d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.cpp.script: line 1: 555170 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/exercise-ps.c (735 of 19712) ******************** TEST 'Clang :: Analysis/exercise-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8770bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8770bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8770bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f876fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8779635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8779635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8779635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8779635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8779635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8779635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8779635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8779635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f87792d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f87792d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f87792d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f87792d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f87792d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f87792d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f87792d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f87792d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f87792d4e65 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 #21 0x00007f87792d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f87792d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f87792d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f87792b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f87792b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f87792b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f87792d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f87792d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f87792d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f87792e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f87792e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f87792e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f87792e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f87792e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f87792e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f87792e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f87792e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f87792e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f877923da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f877923da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f877923da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f877923da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8779786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8779786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8779786b68 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 #46 0x00007f877937f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f877937f794 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:0 #48 0x00007f877937f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f877937f794 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:0 #50 0x00007f877921b7ad 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:5 #51 0x00007f8779268471 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 #52 0x00007f8779268471 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 #53 0x00007f8779269840 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 #54 0x00007f8779269840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f8779269840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f8779269840 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 #57 0x00007f8779277a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f8779277a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f8779277a6a 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:15 #60 0x00007f877929bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f877929bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f877929bf62 clang::ento::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 #63 0x00007f877929dc4e clang::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 0x00007f877929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f877923fac2 clang::ento::CoreEngine::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 0x00007f877925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f877925109a clang::ento::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 0x00007f877954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f877954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f877954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f877954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f877954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f877954e0a7 llvm::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 0x00007f877954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f877954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f8779551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f8779551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f8779551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f8779551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f8779551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f877790724a __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 0x00007f877790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f877790724a void clang::finalize>, 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 0x00007f877790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f8779044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f8778ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f8778ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f8778ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f87790948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055f795cc5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055f795cc970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055f795ccb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055f795cbf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f876fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f876fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055f795cbf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/exercise-ps.c.script: line 1: 555150 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (736 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c:21:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c:21:7: Error evaluating statement #0 0x00007fa1c45d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa1c45ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa1c45d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa1c3654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa1cd035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa1cd035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa1cd035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa1cd035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa1cd035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa1cd035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa1cd035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa1cd035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa1cccd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa1cccd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa1cccd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa1cccd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa1cccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa1cccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa1cccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa1cccd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa1cccd4e65 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 #21 0x00007fa1cccd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa1cccd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa1cccd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa1cccb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa1cccb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa1cccb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa1cccd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa1cccd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa1cccd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa1ccce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa1ccce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa1ccce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa1ccce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa1ccce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa1ccce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa1ccce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa1ccce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa1ccce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa1ccc3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa1ccc3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa1ccc3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa1ccc3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa1cd186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa1cd186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa1cd186b68 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 #46 0x00007fa1ccc69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fa1ccc69db3 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 #48 0x00007fa1ccc69db3 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 #49 0x00007fa1ccc9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fa1ccc9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fa1ccc9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fa1ccc9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fa1ccc9d93e clang::ento::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 #54 0x00007fa1ccc9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fa1ccc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fa1ccc3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fa1ccc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fa1ccc5109a clang::ento::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 0x00007fa1ccf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fa1ccf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fa1ccf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fa1ccf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fa1ccf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fa1ccf4e0a7 llvm::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 0x00007fa1ccf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fa1ccf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fa1ccf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fa1ccf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fa1ccf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fa1ccf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fa1ccf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fa1cb30724a __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 0x00007fa1cb30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fa1cb30724a void clang::finalize>, 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 0x00007fa1cb30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fa1cca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fa1cc9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fa1cc9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fa1cc9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fa1cca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005582ec3b6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005582ec3ba70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005582ec3bc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005582ec3b0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fa1c363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fa1c363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005582ec3b0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.c.script: line 1: 555169 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/explain-svals.m (737 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f71d91d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f71d91ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f71d91d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f71d8254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f71e1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f71e1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f71e1c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f71e1c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f71e1c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f71e1c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f71e1c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f71e1c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f71e18d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f71e18d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f71e18d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f71e18d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f71e18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f71e18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f71e18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f71e18d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f71e18d4e65 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 #21 0x00007f71e18d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f71e18d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f71e18d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f71e18b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f71e18b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f71e18b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f71e18d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f71e18d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f71e18d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f71e18e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f71e18e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f71e18e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f71e18e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f71e18e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f71e18e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f71e18e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f71e18e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f71e18e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f71e183da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f71e183da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f71e183da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f71e183da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f71e1d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f71e1d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f71e1d86b68 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 #46 0x00007f71e189808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f71e189808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f71e189808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f71e189808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f71e189808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f71e189808c 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 #52 0x00007f71e189bfee 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 #53 0x00007f71e189bfee clang::ento::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 #54 0x00007f71e189dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f71e189df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f71e183fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f71e185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f71e185109a clang::ento::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 0x00007f71e1b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f71e1b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f71e1b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f71e1b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f71e1b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f71e1b4e0a7 llvm::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 0x00007f71e1b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f71e1b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f71e1b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f71e1b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f71e1b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f71e1b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f71e1b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f71dff0724a __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 0x00007f71dff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f71dff0724a void clang::finalize>, 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 0x00007f71dff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f71e1644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f71e15f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f71e15f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f71e15f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f71e16948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055edbbae5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055edbbae970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055edbbaeb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055edbbadf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f71d823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f71d823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055edbbadf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.m.script: line 1: 555174 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/exploded-graph-rewriter/initializers_under_construction.cpp (738 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fc03d5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc03d5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc03d5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc046d19ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc045c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fc045c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc045c6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc045c6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fc045c6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fc045c6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fc045c6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fc045c6efd6 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 0x00007fc045c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fc045c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fc045c3f9ea 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 #15 0x00007fc045c3fb9e 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:223:0 #16 0x00007fc045c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fc045c5109a clang::ento::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 0x00007fc045f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fc045f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fc045f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fc045f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fc045f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fc045f4e0a7 llvm::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 0x00007fc045f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fc045f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fc045f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fc045f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fc045f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fc045f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fc045f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fc04430724a __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 0x00007fc04430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fc04430724a void clang::finalize>, 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 0x00007fc04430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fc045a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fc0459f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fc0459f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fc0459f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fc045a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x00005607509baa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x00005607509be70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x00005607509c0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x00005607509b4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fc046d03f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fc046d04009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x00005607509b4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp (742 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f1e845d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1e845ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1e845d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1e83654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1e8cc72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1e8cc72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1e8cc72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1e8cc72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f1e8cc72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f1e8cc72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f1e8cc72b29 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:89 #11 0x00007f1e8cc72e8c 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 #12 0x00007f1e8cc72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f1e8cc72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f1e8cc72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f1e8cc72e8c 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:53 #16 0x00007f1e8cc7347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f1e8cc7347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f1e8cc7347f 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:62 #19 0x00007f1e8cc9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007f1e8cc9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f1e8cc9a404 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 #22 0x00007f1e8cc9a404 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 #23 0x00007f1e8cc9c69e 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 0x00007f1e8cc9c69e clang::ento::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 #25 0x00007f1e8cc9dc4e clang::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 0x00007f1e8cc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f1e8cc3f9ea 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 #28 0x00007f1e8cc3fb9e 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:223:0 #29 0x00007f1e8cc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f1e8cc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f1e8cf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f1e8cf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f1e8cf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f1e8cf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f1e8cf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f1e8cf4e0a7 llvm::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 0x00007f1e8cf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f1e8cf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f1e8cf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f1e8cf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f1e8cf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f1e8cf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f1e8cf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f1e8b30724a __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 0x00007f1e8b30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f1e8b30724a void clang::finalize>, 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 0x00007f1e8b30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f1e8ca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f1e8c9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f1e8c9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f1e8c9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f1e8ca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055deadf41a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055deadf4570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055deadf47440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055deadf3b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f1e8363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f1e8363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055deadf3b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (743 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fa6dfdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa6dfdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa6dfdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa6dee54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa6e8835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa6e8835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa6e8835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa6e8835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa6e8835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa6e8835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa6e8835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa6e8835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa6e84d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa6e84d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa6e84d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa6e84d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa6e84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa6e84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa6e84d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa6e84d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa6e84d4e65 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 #21 0x00007fa6e84d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa6e84d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa6e84d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa6e84b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa6e84b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa6e84b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa6e84d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa6e84d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa6e84d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa6e84e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa6e84e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa6e84e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa6e84e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa6e84e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa6e84e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa6e84e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa6e84e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa6e84e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa6e843da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa6e843da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa6e843da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa6e843da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa6e843df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa6e843df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa6e843df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa6e8497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa6e8497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa6e8497620 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 #49 0x00007fa6e8497620 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 #50 0x00007fa6e84977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fa6e84977b2 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 0x00007fa6e849dfaf clang::ento::ExprEngine::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 0x00007fa6e843f9ea 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 0x00007fa6e843fb9e 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:223:0 #55 0x00007fa6e845109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fa6e845109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fa6e874c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fa6e874c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fa6e874c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fa6e874c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fa6e874c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fa6e874e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fa6e874e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fa6e874e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fa6e8751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fa6e8751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fa6e8751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fa6e8751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fa6e8751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fa6e6b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fa6e6b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fa6e6b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fa6e6b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fa6e8244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fa6e81f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fa6e81f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fa6e81f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fa6e82948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000564fab315a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000564fab31970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000564fab31b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000564fab30f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fa6dee3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fa6dee3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000564fab30f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.c (745 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5872ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 ^ 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5872ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #5 0x00007f5872ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #6 0x00007f5872ece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #7 0x00007f5872ece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #8 0x00007f5872ece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #9 0x00007f5872ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:31'1 ? possible intended match 18: #10 0x00007f5872e6f34b 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 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #11 0x00007f5872e6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #12 0x00007f5872e6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #13 0x00007f5872e6f34b 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:50 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #14 0x00007f5872e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-eq-classes.c (746 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-eq-classes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5a627d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x00007f5a627ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x00007f5a627d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.cpp (748 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8dc77d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8dc77ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8dc77d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8dc6854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8dcffa33ea llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f8dcffa33ea llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8dcffa33ea llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8dcffa33ea llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f8dcffa33ea llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f8dcffa33ea 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 0x00007f8dcffa33ea get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f8dcffa33ea (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:44 #12 0x00007f8dcfe1bfa7 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 0x00007f8dcfe6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f8dcfe6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f8dcfe6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f8dcfe6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f8dcfe6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f8dcfe6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f8dcfe6f23c 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 0x00007f8dcfe9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f8dcfe9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8dcfe3fac2 clang::ento::CoreEngine::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 0x00007f8dcfe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f8dcfe5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f8dd014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f8dd014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f8dd014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f8dd014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f8dd014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f8dd014e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f8dd014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f8dd014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f8dd0151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f8dd0151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f8dd0151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f8dd0151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f8dd0151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f8dce50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f8dce50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f8dce50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f8dce50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f8dcfc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f8dcfbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f8dcfbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f8dcfbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f8dcfc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000056422aabda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000056422aac170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000056422aac3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000056422aab7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f8dc683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f8dc683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000056422aab7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/expr-inspection.cpp.script: line 2: 555364 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/expr-inspection-printState-diseq-info.c (749 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-diseq-info.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f80781d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x00007f80781ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x00007f80781d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/noexprcrash.c (750 of 19712) ******************** TEST 'Clang :: Analysis/exploration_order/noexprcrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe3483d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe3483ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe3483d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe347454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe350e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe350e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe350e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe350e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe350e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe350e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe350e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe350e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe350ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe350ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe350ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe350ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe350ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe350ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe350ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe350ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe350ad4e65 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 #21 0x00007fe350ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe350ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe350ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe350ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe350ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe350ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe350ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe350ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe350ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe350ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe350ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe350ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe350ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe350ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe350ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe350ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe350ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe350ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe350a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe350a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe350a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe350a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe350f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe350f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe350f86b68 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 #46 0x00007fe350b7f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007fe350b7f794 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:0 #48 0x00007fe350b7f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007fe350b7f794 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:0 #50 0x00007fe350a1b7ad 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:5 #51 0x00007fe350a68471 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 #52 0x00007fe350a68471 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 #53 0x00007fe350a69840 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 #54 0x00007fe350a69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007fe350a69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007fe350a69840 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 #57 0x00007fe350a77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007fe350a77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007fe350a77a6a 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:15 #60 0x00007fe350a9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007fe350a9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007fe350a9bf62 clang::ento::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 #63 0x00007fe350a9dc4e clang::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 0x00007fe350a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe350a3fac2 clang::ento::CoreEngine::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 0x00007fe350a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007fe350a5109a clang::ento::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 0x00007fe350d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007fe350d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007fe350d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007fe350d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007fe350d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007fe350d4e0a7 llvm::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 0x00007fe350d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007fe350d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007fe350d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007fe350d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007fe350d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007fe350d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007fe350d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007fe34f10724a __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 0x00007fe34f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007fe34f10724a void clang::finalize>, 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 0x00007fe34f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007fe350844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007fe3507f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007fe3507f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007fe3507f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007fe3508948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055eec17baa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055eec17be70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055eec17c0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055eec17b4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007fe34743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007fe34743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055eec17b4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/noexprcrash.c.script: line 2: 555330 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/exploration_order/prefer_unexplored.cpp (751 of 19712) ******************** TEST 'Clang :: Analysis/exploration_order/prefer_unexplored.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f09d63d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f09d63ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f09d63d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f09d5454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f09dee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f09dee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f09dee35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f09dee35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f09dee35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f09dee35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f09dee35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f09dee35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f09dead408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f09dead408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f09dead408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f09dead408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f09dead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f09dead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f09dead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f09dead408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f09dead4e65 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 #21 0x00007f09dead4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f09dead4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f09dead4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f09deab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f09deab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f09deab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f09dead643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f09dead643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f09dead643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f09deae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f09deae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f09deae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f09deae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f09deae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f09deae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f09deae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f09deae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f09deae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f09dea3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f09dea3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f09dea3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f09dea3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f09def86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f09def86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f09def86b68 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 #46 0x00007f09dea6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f09dea6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f09dea6bf90 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 #49 0x00007f09dea6bf90 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 #50 0x00007f09dea6bf90 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 #51 0x00007f09dea6bf90 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 #52 0x00007f09dea6bf90 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 #53 0x00007f09dea6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f09dea6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f09dea6bf90 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 #56 0x00007f09dea3f21a 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:0 #57 0x00007f09dea5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f09dea5109a clang::ento::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 0x00007f09ded4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f09ded4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f09ded4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f09ded4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f09ded4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f09ded4e0a7 llvm::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 0x00007f09ded4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f09ded4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f09ded51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f09ded51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f09ded51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f09ded51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f09ded51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f09dd10724a __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 0x00007f09dd10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f09dd10724a void clang::finalize>, 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 0x00007f09dd10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f09de844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f09de7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f09de7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f09de7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f09de8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d6af178a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d6af17c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d6af17e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d6af172903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f09d543ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f09d543f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d6af172945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/prefer_unexplored.cpp.script: line 2: 555332 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/fields.c (752 of 19712) ******************** TEST 'Clang :: Analysis/fields.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb15c3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb15c3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb15c3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb15b454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb164c8d74e llvm::ImutKeyValueInfo::isEqual(clang::ento::MemRegion const* const&, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x00007fb164c8d74e llvm::ImutAVLFactory>::remove_internal(clang::ento::MemRegion const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x00007fb164c8d74e llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x00007fb164c8d74e llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x00007fb164c8d74e 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:27 #9 0x00007fb164c8d74e remove<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x00007fb164c8d74e 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:63 #11 0x00007fb164c99bc3 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 #12 0x00007fb164c99bc3 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fb164c99bc3 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb164c99bc3 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:690:41 #15 0x00007fb164c99bc3 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:70 #16 0x00007fb164a2370b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007fb164a2370b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007fb164a2370b 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:29 #19 0x00007fb164a2370b 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:33 #20 0x00007fb164ab8a09 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x00007fb164ab8a09 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x00007fb164ab8a09 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:68 #23 0x00007fb164ab8a09 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:58 #24 0x00007fb164a34dc4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #25 0x00007fb164a34dc4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #26 0x00007fb164a34dc4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #27 0x00007fb164a34dc4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #28 0x00007fb164a932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #29 0x00007fb164a932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #30 0x00007fb164a932e9 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 #31 0x00007fb164a93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fb164a93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fb164a93c90 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 #34 0x00007fb164a3ce4e 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 #35 0x00007fb164a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #36 0x00007fb164a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #37 0x00007fb164a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #38 0x00007fb164a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #39 0x00007fb164a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #40 0x00007fb164a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #41 0x00007fb164a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #42 0x00007fb164a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #43 0x00007fb164a7eb8e 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:695:0 #44 0x00007fb164a7f767 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:0 #45 0x00007fb164a9c6f1 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 0x00007fb164a9c6f1 clang::ento::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 0x00007fb164a9dc4e clang::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 0x00007fb164a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb164a3fac2 clang::ento::CoreEngine::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 0x00007fb164a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #51 0x00007fb164a5109a clang::ento::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 0x00007fb164d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007fb164d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007fb164d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #55 0x00007fb164d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #56 0x00007fb164d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #57 0x00007fb164d4e0a7 llvm::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 0x00007fb164d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x00007fb164d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #60 0x00007fb164d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x00007fb164d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x00007fb164d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x00007fb164d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x00007fb164d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x00007fb16310724a __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 0x00007fb16310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x00007fb16310724a void clang::finalize>, 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 0x00007fb16310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x00007fb164844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #70 0x00007fb1647f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #71 0x00007fb1647f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #72 0x00007fb1647f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #73 0x00007fb1648948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #74 0x000055c9b70c7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x000055c9b70cb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x000055c9b70cd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x000055c9b70c1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x00007fb15b43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #79 0x00007fb15b43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #80 0x000055c9b70c1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/fields.c.script: line 1: 555366 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/flexible-array-member.cpp (753 of 19712) ******************** TEST 'Clang :: Analysis/flexible-array-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fafba3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fafba3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fafba3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fafb9454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fafc2a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fafc2a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fafc2a6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fafc2a6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fafc2a6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fafc2a6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fafc2a6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fafc2a6efd6 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 0x00007fafc2a810f3 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x00007fafc2a810f3 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x00007fafc2a810f3 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x00007fafc2a810f3 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x00007fafc2a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fafc2a5109a clang::ento::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 0x00007fafc2d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fafc2d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fafc2d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fafc2d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fafc2d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fafc2d4e0a7 llvm::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 0x00007fafc2d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fafc2d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fafc2d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fafc2d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fafc2d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fafc2d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fafc2d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fafc110724a __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 0x00007fafc110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fafc110724a void clang::finalize>, 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 0x00007fafc110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fafc2844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fafc27f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fafc27f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fafc27f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fafc28948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055fc56b13a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055fc56b1770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055fc56b19440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055fc56b0d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fafb943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fafb943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055fc56b0d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-member.cpp.script: line 2: 555394 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/find-binop-constraints.cpp (754 of 19712) ******************** TEST 'Clang :: Analysis/find-binop-constraints.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbc173d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbc173ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbc173d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbc16454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbc1fad44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fbc1fad44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fbc1fad44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fbc1fad44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fbc1fad44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fbc1fad44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fbc1fad44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fbc1fad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007fbc1fad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007fbc1fad44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007fbc1fad44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007fbc1fad44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007fbc1fad44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007fbc1fad44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007fbc1fad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007fbc1fad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007fbc1fad44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007fbc1fad44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007fbc1fad574d 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 #23 0x00007fbc1fad574d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007fbc1fad574d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007fbc1fad574d (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:31 #26 0x00007fbc1fab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007fbc1fab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007fbc1fab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x00007fbc1fad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x00007fbc1fad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x00007fbc1fad643f clang::ento::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 0x00007fbc1fae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007fbc1fae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007fbc1fae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #35 0x00007fbc1fae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x00007fbc1fae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x00007fbc1fae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x00007fbc1fae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007fbc1fae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007fbc1fae9060 clang::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 0x00007fbc1fa3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007fbc1fa3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007fbc1fa3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x00007fbc1fa3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #45 0x00007fbc1ff86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x00007fbc1ff86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x00007fbc1ff86b68 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 0x00007fbc1fa6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #49 0x00007fbc1fa6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #50 0x00007fbc1fa6bf90 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 0x00007fbc1fa6bf90 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 0x00007fbc1fa6bf90 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 0x00007fbc1fa6bf90 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 0x00007fbc1fa6bf90 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 0x00007fbc1fa6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #56 0x00007fbc1fa6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #57 0x00007fbc1fa6bf90 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 0x00007fbc1fa3f21a 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:0 #59 0x00007fbc1fa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #60 0x00007fbc1fa5109a clang::ento::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 0x00007fbc1fd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #62 0x00007fbc1fd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #63 0x00007fbc1fd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #64 0x00007fbc1fd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #65 0x00007fbc1fd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #66 0x00007fbc1fd4e0a7 llvm::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 0x00007fbc1fd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x00007fbc1fd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #69 0x00007fbc1fd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x00007fbc1fd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x00007fbc1fd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x00007fbc1fd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x00007fbc1fd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x00007fbc1e10724a __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 0x00007fbc1e10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x00007fbc1e10724a void clang::finalize>, 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 0x00007fbc1e10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x00007fbc1f844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #79 0x00007fbc1f7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #80 0x00007fbc1f7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #81 0x00007fbc1f7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #82 0x00007fbc1f8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #83 0x000055e5f2b9ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x000055e5f2ba270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x000055e5f2ba4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x000055e5f2b98903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x00007fbc1643ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #88 0x00007fbc1643f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #89 0x000055e5f2b98945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/find-binop-constraints.cpp.script: line 1: 555386 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/fuchsia_handle.cpp (759 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_handle.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8bb93d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8bb93ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8bb93d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8bb8454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8bc1bab93e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f8bc1bab93e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8bc1bab93e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8bc1bab93e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f8bc1bab93e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f8bc1bab93e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f8bc1bab93e get<(anonymous namespace)::HStateMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f8bc1bab93e (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:56 #12 0x00007f8bc1a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f8bc1a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f8bc1a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f8bc1a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f8bc1a2561d 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:26 #17 0x00007f8bc1a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f8bc1a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f8bc1a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f8bc1a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f8bc1a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f8bc1a7ecbc 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:0 #23 0x00007f8bc1a7f767 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:0 #24 0x00007f8bc1a9c6f1 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 0x00007f8bc1a9c6f1 clang::ento::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 0x00007f8bc1a9dc4e clang::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 0x00007f8bc1a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8bc1a3fac2 clang::ento::CoreEngine::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 0x00007f8bc1a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f8bc1a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f8bc1d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f8bc1d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f8bc1d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f8bc1d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f8bc1d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f8bc1d4e0a7 llvm::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 0x00007f8bc1d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f8bc1d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f8bc1d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f8bc1d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f8bc1d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f8bc1d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f8bc1d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f8bc010724a __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 0x00007f8bc010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f8bc010724a void clang::finalize>, 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 0x00007f8bc010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f8bc1844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f8bc17f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f8bc17f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f8bc17f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f8bc18948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055fd4aa4da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055fd4aa5170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055fd4aa53440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055fd4aa47903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f8bb843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f8bb843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055fd4aa47945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_handle.cpp.script: line 1: 555454 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/flexible-array-members.c (761 of 19712) ******************** TEST 'Clang :: Analysis/flexible-array-members.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fea9f9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fea9f9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fea9f9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fea9ea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007feaa8414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007feaa8414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007feaa8414a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007feaa8414a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007feaa8414a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007feaa8414a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007feaa8414a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007feaa8414a5e (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 0x00007feaa81e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007feaa81e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007feaa81e8fd5 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 0x00007feaa802397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007feaa802397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007feaa802397a 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:29 #18 0x00007feaa802397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007feaa80e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007feaa80e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007feaa80e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007feaa80e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007feaa80e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007feaa80e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007feaa80e9060 clang::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 0x00007feaa803db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007feaa803db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007feaa803db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007feaa803db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007feaa8586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007feaa8586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007feaa8586b68 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 0x00007feaa8215ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007feaa8215ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007feaa8215ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007feaa8215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007feaa8215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007feaa8215ff0 (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 0x00007feaa821700b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007feaa821700b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007feaa821700b (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 0x00007feaa821851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007feaa821851b 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 0x00007feaa802561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007feaa802561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007feaa802561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007feaa802561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007feaa802561d 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:26 #49 0x00007feaa807ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007feaa807ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007feaa807ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007feaa807ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007feaa807ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007feaa807ecbc 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:0 #55 0x00007feaa807f767 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:0 #56 0x00007feaa809c6f1 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 0x00007feaa809c6f1 clang::ento::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 0x00007feaa809dc4e clang::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 0x00007feaa809df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007feaa803fac2 clang::ento::CoreEngine::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 0x00007feaa805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007feaa805109a clang::ento::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 0x00007feaa834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007feaa834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007feaa834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007feaa834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007feaa834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007feaa834e0a7 llvm::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 0x00007feaa834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007feaa834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007feaa8351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007feaa8351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007feaa8351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007feaa8351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007feaa8351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007feaa670724a __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 0x00007feaa670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007feaa670724a void clang::finalize>, 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 0x00007feaa670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007feaa7e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007feaa7df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007feaa7df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007feaa7df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007feaa7e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x00005595bbd78a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x00005595bbd7c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x00005595bbd7e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x00005595bbd72903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fea9ea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fea9ea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x00005595bbd72945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-members.c.script: line 11: 555427 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/free.cpp (762 of 19712) ******************** TEST 'Clang :: Analysis/free.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f98db5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f98db5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f98db5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f98da654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f98e4035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f98e4035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f98e4035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f98e4035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f98e4035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f98e4035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f98e4035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f98e4035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f98e3cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f98e3cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f98e3cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f98e3cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f98e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f98e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f98e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f98e3cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f98e3cd4e65 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 #21 0x00007f98e3cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f98e3cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f98e3cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f98e3cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f98e3cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f98e3cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f98e3cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f98e3cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f98e3cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f98e3ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f98e3ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f98e3ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f98e3ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f98e3ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f98e3ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f98e3ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f98e3ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f98e3ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f98e3c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f98e3c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f98e3c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f98e3c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f98e4186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f98e4186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f98e4186b68 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 #46 0x00007f98e3e1b114 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f98e3e1b114 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f98e3e1b114 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f98e3e1b114 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f98e3e1b114 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f98e3e1b114 (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 #52 0x00007f98e40149d5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f98e40149d5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f98e40149d5 (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 #55 0x00007f98e3e15826 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #56 0x00007f98e3e15826 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #57 0x00007f98e3e15826 (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 #58 0x00007f98e3e1845f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007f98e3e1845f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007f98e3e1845f checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #61 0x00007f98e3e1845f 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 #62 0x00007f98e3c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #63 0x00007f98e3c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #64 0x00007f98e3c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #65 0x00007f98e3c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #66 0x00007f98e3c2561d 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:26 #67 0x00007f98e3c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #68 0x00007f98e3c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #69 0x00007f98e3c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #70 0x00007f98e3c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #71 0x00007f98e3c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #72 0x00007f98e3c7ecbc 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:0 #73 0x00007f98e3c7f767 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:0 #74 0x00007f98e3c9c6f1 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 #75 0x00007f98e3c9c6f1 clang::ento::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 #76 0x00007f98e3c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #77 0x00007f98e3c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #78 0x00007f98e3c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #79 0x00007f98e3c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #80 0x00007f98e3c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #81 0x00007f98e3f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #82 0x00007f98e3f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #83 0x00007f98e3f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #84 0x00007f98e3f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #85 0x00007f98e3f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #86 0x00007f98e3f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #87 0x00007f98e3f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #88 0x00007f98e3f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #89 0x00007f98e3f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #90 0x00007f98e3f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #91 0x00007f98e3f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #92 0x00007f98e3f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #93 0x00007f98e3f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #94 0x00007f98e230724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #95 0x00007f98e230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #96 0x00007f98e230724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #97 0x00007f98e230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #98 0x00007f98e3a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #99 0x00007f98e39f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #100 0x00007f98e39f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #101 0x00007f98e39f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #102 0x00007f98e3a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #103 0x0000564537f63a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #104 0x0000564537f6770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #105 0x0000564537f69440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #106 0x0000564537f5d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #107 0x00007f98da63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #108 0x00007f98da63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #109 0x0000564537f5d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.cpp.script: line 2: 555455 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/generics.m (764 of 19712) ******************** TEST 'Clang :: Analysis/generics.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f69ab1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f69ab1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f69ab1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f69aa254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f69b3c21956 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f69b3c21956 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f69b3c21956 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f69b3c21956 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f69b3c21956 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f69b3c21956 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 0x00007f69b3c21956 get<(anonymous namespace)::MostSpecializedTypeArgsMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f69b3c21956 (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 0x00007f69b381bfa7 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 0x00007f69b386f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f69b386f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f69b386f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f69b386f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f69b386f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f69b386f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f69b386f23c 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 0x00007f69b389db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f69b389df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f69b383fac2 clang::ento::CoreEngine::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 0x00007f69b385109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f69b385109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f69b3b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f69b3b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f69b3b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f69b3b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f69b3b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f69b3b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f69b3b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f69b3b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f69b3b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f69b3b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f69b3b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f69b3b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f69b3b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f69b1f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f69b1f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f69b1f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f69b1f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f69b3644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f69b35f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f69b35f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f69b35f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f69b36948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x00005637e33daa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x00005637e33de70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x00005637e33e0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x00005637e33d4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f69aa23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f69aa23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x00005637e33d4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.script: line 3: 555506 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/free.c (765 of 19712) ******************** TEST 'Clang :: Analysis/free.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe7695d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe7695ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe7695d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe768654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe772035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe772035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe772035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe772035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe772035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe772035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe772035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe772035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe771cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe771cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe771cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe771cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe771cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe771cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe771cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe771cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe771cd4e65 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 #21 0x00007fe771cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe771cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe771cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe771cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe771cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe771cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe771cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe771cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe771cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe771ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe771ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe771ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe771ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe771ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe771ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe771ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe771ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe771ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe771c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe771c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe771c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe771c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe772186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe772186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe772186b68 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 #46 0x00007fe771e1b114 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007fe771e1b114 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007fe771e1b114 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007fe771e1b114 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007fe771e1b114 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007fe771e1b114 (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 #52 0x00007fe7720149d5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007fe7720149d5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007fe7720149d5 (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 #55 0x00007fe771e15826 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #56 0x00007fe771e15826 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #57 0x00007fe771e15826 (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 #58 0x00007fe771e1845f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007fe771e1845f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007fe771e1845f checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #61 0x00007fe771e1845f 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 #62 0x00007fe771c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #63 0x00007fe771c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #64 0x00007fe771c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #65 0x00007fe771c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #66 0x00007fe771c2561d 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:26 #67 0x00007fe771c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #68 0x00007fe771c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #69 0x00007fe771c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #70 0x00007fe771c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #71 0x00007fe771c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #72 0x00007fe771c7ecbc 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:0 #73 0x00007fe771c7f767 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:0 #74 0x00007fe771c9c6f1 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 #75 0x00007fe771c9c6f1 clang::ento::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 #76 0x00007fe771c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #77 0x00007fe771c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #78 0x00007fe771c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #79 0x00007fe771c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #80 0x00007fe771c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #81 0x00007fe771f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #82 0x00007fe771f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #83 0x00007fe771f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #84 0x00007fe771f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #85 0x00007fe771f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #86 0x00007fe771f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #87 0x00007fe771f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #88 0x00007fe771f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #89 0x00007fe771f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #90 0x00007fe771f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #91 0x00007fe771f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #92 0x00007fe771f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #93 0x00007fe771f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #94 0x00007fe77030724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #95 0x00007fe77030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #96 0x00007fe77030724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #97 0x00007fe77030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #98 0x00007fe771a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #99 0x00007fe7719f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #100 0x00007fe7719f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #101 0x00007fe7719f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #102 0x00007fe771a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #103 0x0000564d38902a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #104 0x0000564d3890670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #105 0x0000564d38908440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #106 0x0000564d388fc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #107 0x00007fe76863ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #108 0x00007fe76863f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #109 0x0000564d388fc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.c.script: line 2: 555446 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/global-region-invalidation.c (766 of 19712) ******************** TEST 'Clang :: Analysis/global-region-invalidation.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c:89:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c:89:11: Error evaluating statement #0 0x00007f3915dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3915dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3915dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3914e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f391e4c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f391e4c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f391e4c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f391e4c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f391e4c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f391e4c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f391e4c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f391e4c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f391e4c6be6 (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 0x00007f391e4c7048 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 #14 0x00007f391e4c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f391e4c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f391e4c7048 (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 #17 0x00007f391e4dcefe llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f391e4dcefe llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f391e4dcefe 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 #20 0x00007f391e469a74 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 #21 0x00007f391e477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #22 0x00007f391e477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f391e477a6a 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:15 #24 0x00007f391e49bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #25 0x00007f391e49bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #26 0x00007f391e49bf62 clang::ento::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 #27 0x00007f391e49dc4e clang::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 0x00007f391e49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f391e43fac2 clang::ento::CoreEngine::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 0x00007f391e45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007f391e45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007f391e74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f391e74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f391e74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007f391e74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007f391e74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007f391e74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007f391e74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007f391e74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007f391e751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007f391e751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007f391e751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007f391e751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007f391e751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007f391cb0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007f391cb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007f391cb0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007f391cb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007f391e244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007f391e1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007f391e1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007f391e1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007f391e2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x000055bfd1c44a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x000055bfd1c4870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x000055bfd1c4a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x000055bfd1c3e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007f3914e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007f3914e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x000055bfd1c3e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation.c.script: line 1: 555508 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/fuchsia_lock.c (768 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb272fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb272fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb272fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb272054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb27ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb27ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb27ba35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb27ba35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb27ba35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb27ba35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb27ba35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb27ba35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb27b6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb27b6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb27b6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb27b6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb27b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb27b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb27b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb27b6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb27b6d4e65 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 #21 0x00007fb27b6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb27b6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb27b6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb27b6d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb27b6d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb27b6d6cdb 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 #27 0x00007fb27b6d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb27b6d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb27b6d64ad 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 #30 0x00007fb27b6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb27b6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb27b6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb27b6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb27b6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb27b6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb27b6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb27b6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb27b6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb27b63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb27b63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb27b63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb27b63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb27bb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb27bb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb27bb86b68 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 #46 0x00007fb27b8981f5 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #47 0x00007fb27b8981f5 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #48 0x00007fb27b8981f5 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #49 0x00007fb27b8981f5 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #50 0x00007fb27b8981f5 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #51 0x00007fb27b8981f5 (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:17 #52 0x00007fb27b8984eb (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 #53 0x00007fb27b62561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x00007fb27b62561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x00007fb27b62561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x00007fb27b62561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x00007fb27b62561d 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:26 #58 0x00007fb27b67ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007fb27b67ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007fb27b67ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007fb27b67ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007fb27b67ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007fb27b67ecbc 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:0 #64 0x00007fb27b67f767 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:0 #65 0x00007fb27b69c6f1 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 0x00007fb27b69c6f1 clang::ento::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 0x00007fb27b69dc4e clang::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 0x00007fb27b69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb27b63fac2 clang::ento::CoreEngine::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 0x00007fb27b65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #71 0x00007fb27b65109a clang::ento::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 0x00007fb27b94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #73 0x00007fb27b94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #74 0x00007fb27b94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #75 0x00007fb27b94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #76 0x00007fb27b94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #77 0x00007fb27b94e0a7 llvm::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 0x00007fb27b94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x00007fb27b94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #80 0x00007fb27b951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x00007fb27b951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x00007fb27b951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x00007fb27b951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x00007fb27b951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x00007fb279d0724a __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 0x00007fb279d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x00007fb279d0724a void clang::finalize>, 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 0x00007fb279d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x00007fb27b444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #90 0x00007fb27b3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #91 0x00007fb27b3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #92 0x00007fb27b3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #93 0x00007fb27b4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #94 0x0000560fdf916a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000560fdf91a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000560fdf91c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000560fdf910903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x00007fb27203ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #99 0x00007fb27203f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #100 0x0000560fdf910945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock.c.script: line 1: 555460 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (769 of 19712) ******************** TEST 'Clang :: Analysis/func.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb4a73d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb4a73ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb4a73d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb4a6454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb4afe35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb4afe35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb4afe35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb4afe35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb4afe35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb4afe35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb4afe35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb4afe35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb4afad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb4afad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb4afad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb4afad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb4afad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb4afad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb4afad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb4afad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb4afad4e65 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 #21 0x00007fb4afad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb4afad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb4afad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb4afab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb4afab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb4afab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb4afad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb4afad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb4afad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb4afae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb4afae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb4afae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb4afae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb4afae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb4afae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb4afae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb4afae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb4afae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb4afa3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb4afa3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb4afa3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb4afa3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb4aff86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb4aff86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb4aff86b68 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 #46 0x00007fb4afa6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fb4afa6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fb4afa6bf90 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 #49 0x00007fb4afa6bf90 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 #50 0x00007fb4afa6bf90 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 #51 0x00007fb4afa6bf90 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 #52 0x00007fb4afa6bf90 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 #53 0x00007fb4afa6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fb4afa6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fb4afa6bf90 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 #56 0x00007fb4afa3f21a 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:0 #57 0x00007fb4afa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb4afa5109a clang::ento::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 0x00007fb4afd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb4afd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb4afd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb4afd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb4afd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb4afd4e0a7 llvm::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 0x00007fb4afd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb4afd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb4afd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb4afd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb4afd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb4afd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb4afd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb4ae10724a __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 0x00007fb4ae10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb4ae10724a void clang::finalize>, 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 0x00007fb4ae10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb4af844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb4af7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb4af7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb4af7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb4af8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055be1af77a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055be1af7b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055be1af7d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055be1af71903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb4a643ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb4a643f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055be1af71945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/func.c.script: line 1: 555484 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/fuchsia_lock_impl.c (770 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_lock_impl.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4f661d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4f661ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4f661d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4f65254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4f6ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4f6ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4f6ec35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4f6ec35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4f6ec35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4f6ec35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4f6ec35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4f6ec35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4f6e8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4f6e8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4f6e8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4f6e8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4f6e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4f6e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4f6e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4f6e8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4f6e8d4e65 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 #21 0x00007f4f6e8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4f6e8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4f6e8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4f6e8d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4f6e8d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4f6e8d6cdb 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 #27 0x00007f4f6e8d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4f6e8d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4f6e8d64ad 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 #30 0x00007f4f6e8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4f6e8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4f6e8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4f6e8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4f6e8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4f6e8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4f6e8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4f6e8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4f6e8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4f6e83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4f6e83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4f6e83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4f6e83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4f6ed86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4f6ed86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4f6ed86b68 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 #46 0x00007f4f6e86bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4f6e86bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4f6e86bf90 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 #49 0x00007f4f6e86bf90 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 #50 0x00007f4f6e86bf90 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 #51 0x00007f4f6e86bf90 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 #52 0x00007f4f6e86bf90 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 #53 0x00007f4f6e86bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4f6e86bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4f6e86bf90 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 #56 0x00007f4f6e83f21a 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:0 #57 0x00007f4f6e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4f6e85109a clang::ento::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 0x00007f4f6eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4f6eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4f6eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4f6eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4f6eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4f6eb4e0a7 llvm::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 0x00007f4f6eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4f6eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4f6eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4f6eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4f6eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4f6eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4f6eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4f6cf0724a __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 0x00007f4f6cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4f6cf0724a void clang::finalize>, 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 0x00007f4f6cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4f6e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4f6e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4f6e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4f6e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4f6e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561c96030a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561c9603470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561c96036440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561c9602a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4f6523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4f6523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561c9602a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock_impl.c.script: line 1: 555465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/gcdantipatternchecker_test.m (774 of 19712) ******************** TEST 'Clang :: Analysis/gcdantipatternchecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2c867d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2c867ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2c867d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2c85854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2c8f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2c8f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2c8f235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2c8f235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2c8f235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2c8f235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2c8f235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2c8f235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2c8eed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2c8eed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2c8eed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2c8eed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2c8eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2c8eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2c8eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2c8eed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2c8eed4e65 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 #21 0x00007f2c8eed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2c8eed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2c8eed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2c8eeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2c8eeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2c8eeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2c8eed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2c8eed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2c8eed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2c8eee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2c8eee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2c8eee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2c8eee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2c8eee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2c8eee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2c8eee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2c8eee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2c8eee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2c8ee3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2c8ee3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2c8ee3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2c8ee3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2c8f386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2c8f386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2c8f386b68 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 #46 0x00007f2c8ee9808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f2c8ee9808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f2c8ee9808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f2c8ee9808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f2c8ee9808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f2c8ee9808c 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 #52 0x00007f2c8ee9bfee 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 #53 0x00007f2c8ee9bfee clang::ento::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 #54 0x00007f2c8ee9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f2c8ee9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f2c8ee3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f2c8ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f2c8ee5109a clang::ento::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 0x00007f2c8f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f2c8f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f2c8f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f2c8f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f2c8f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f2c8f14e0a7 llvm::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 0x00007f2c8f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f2c8f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f2c8f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f2c8f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f2c8f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f2c8f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f2c8f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f2c8d50724a __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 0x00007f2c8d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f2c8d50724a void clang::finalize>, 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 0x00007f2c8d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f2c8ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f2c8ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f2c8ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f2c8ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f2c8ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056449c326a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056449c32a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056449c32c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056449c320903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f2c8583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f2c8583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056449c320945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/gcdantipatternchecker_test.m.script: line 1: 555505 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/global-region-invalidation-errno.c (775 of 19712) ******************** TEST 'Clang :: Analysis/global-region-invalidation-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fda0edd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fda0edceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fda0edd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fda0de54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fda176f109e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fda176f109e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fda176f109e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fda176f109e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fda176f109e llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fda176f109e 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 0x00007fda176f109e get<(anonymous namespace)::TaintMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x00007fda176f109e 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:0 #12 0x00007fda176f1f22 llvm::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 0x00007fda176f1f22 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x00007fda176f1f22 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x00007fda176f1f22 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 0x00007fda176f24af __gnu_cxx::__normal_iterator>>::__normal_iterator(clang::ento::SymExpr const* const* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:0 #17 0x00007fda176f24af std::vector>::begin() const /usr/include/c++/12/bits/stl_vector.h:879:0 #18 0x00007fda176f24af std::vector>::empty() const /usr/include/c++/12/bits/stl_vector.h:1084:0 #19 0x00007fda176f24af 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 #20 0x00007fda175b18f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fda175b18f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fda175b18f2 (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 #23 0x00007fda175c350d operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:939:0 #24 0x00007fda175c350d 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 #25 0x00007fda175c350d (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 #26 0x00007fda175c6399 getPrintfFormatArgumentNum /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1047:0 #27 0x00007fda175c6399 checkUncontrolledFormatString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1069:0 #28 0x00007fda175c6399 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:825:0 #29 0x00007fda175c6399 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 #30 0x00007fda1742561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #31 0x00007fda1742561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fda1742561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #33 0x00007fda1742561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #34 0x00007fda1742561d 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:26 #35 0x00007fda1747eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #36 0x00007fda1747eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #37 0x00007fda1747eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #38 0x00007fda1747eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #39 0x00007fda1747eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #40 0x00007fda1747eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #41 0x00007fda1747eac9 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:0 #42 0x00007fda1747f767 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:0 #43 0x00007fda1749c6f1 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 #44 0x00007fda1749c6f1 clang::ento::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 #45 0x00007fda1749dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #46 0x00007fda1749df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #47 0x00007fda1743fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #48 0x00007fda1745109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #49 0x00007fda1745109a clang::ento::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 0x00007fda1774c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x00007fda1774c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x00007fda1774c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #53 0x00007fda1774c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #54 0x00007fda1774c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #55 0x00007fda1774e0a7 llvm::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 0x00007fda1774e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x00007fda1774e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #58 0x00007fda17751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x00007fda17751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x00007fda17751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x00007fda17751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x00007fda17751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x00007fda15b0724a __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 0x00007fda15b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x00007fda15b0724a void clang::finalize>, 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 0x00007fda15b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x00007fda17244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #68 0x00007fda171f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #69 0x00007fda171f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #70 0x00007fda171f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #71 0x00007fda172948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #72 0x00005587e807ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x00005587e807f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x00005587e8081440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x00005587e8075903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x00007fda0de3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #77 0x00007fda0de3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #78 0x00005587e8075945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation-errno.c.script: line 2: 555504 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (776 of 19712) ******************** TEST 'Clang :: Analysis/globals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 recordinit() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp:110:5: Error evaluating statement #0 0x00007f326e9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f326e9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f326e9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f326da54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f327706efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f327706efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f327706efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f327706efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f327706efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f327706efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f327706efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f327706efd6 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 0x00007f327709db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f327709df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f327703fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f327705109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f327705109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f327734c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f327734c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f327734c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f327734c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f327734c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f327734e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f327734e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f327734e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f3277351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f3277351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f3277351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f3277351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f3277351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f327570724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f327570724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f327570724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f327570724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f3276e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f3276df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f3276df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f3276df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f3276e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000055de37b44a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000055de37b4870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000055de37b4a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000055de37b3e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f326da3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f326da3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x000055de37b3e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals.cpp.script: line 1: 555548 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/global_region_invalidation.mm (778 of 19712) ******************** TEST 'Clang :: Analysis/global_region_invalidation.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f97b8dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f97b8dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f97b8dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f97b7e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f97c1835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f97c1835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f97c1835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f97c1835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f97c1835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f97c1835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f97c1835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f97c1835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f97c14d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f97c14d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f97c14d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f97c14d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f97c14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f97c14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f97c14d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f97c14d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f97c14d4e65 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 #21 0x00007f97c14d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f97c14d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f97c14d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f97c14b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f97c14b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f97c14b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f97c14d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f97c14d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f97c14d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f97c14e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f97c14e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f97c14e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f97c14e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f97c14e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f97c14e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f97c14e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f97c14e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f97c14e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f97c143da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f97c143da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f97c143da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f97c143da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f97c1986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f97c1986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f97c1986b68 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 #46 0x00007f97c146bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f97c146bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f97c146bf90 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 #49 0x00007f97c146bf90 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 #50 0x00007f97c146bf90 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 #51 0x00007f97c146bf90 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 #52 0x00007f97c146bf90 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 #53 0x00007f97c146bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f97c146bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f97c146bf90 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 #56 0x00007f97c143f21a 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:0 #57 0x00007f97c145109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f97c145109a clang::ento::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 0x00007f97c174c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f97c174c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f97c174c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f97c174c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f97c174c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f97c174e0a7 llvm::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 0x00007f97c174e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f97c174e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f97c1751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f97c1751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f97c1751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f97c1751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f97c1751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f97bfb0724a __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 0x00007f97bfb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f97bfb0724a void clang::finalize>, 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 0x00007f97bfb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f97c1244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f97c11f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f97c11f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f97c11f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f97c12948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055efdc89ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055efdc8a070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055efdc8a2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055efdc896903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f97b7e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f97b7e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055efdc896945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/global_region_invalidation.mm.script: line 1: 555519 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (780 of 19712) ******************** TEST 'Clang :: Analysis/globals-are-not-always-immutable.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f35461d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f35461ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f35461d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3545254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f354e8c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f354e8c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f354e8c7b03 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f354e8c7b03 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f354e8c7b03 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f354e8c7b03 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f354e8c7b03 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f354e8c7b03 (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:63 #12 0x00007f354e8c9fe0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f354e8c9fe0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f354e8c9fe0 (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:60 #15 0x00007f354e8d4425 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f354e8d4425 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f354e8d4425 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #18 0x00007f354e8d4425 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #19 0x00007f354e8d4425 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #20 0x00007f354e8d4425 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #21 0x00007f354e8d4425 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #22 0x00007f354e8d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #23 0x00007f354e8d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #24 0x00007f354e8d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #25 0x00007f354e8d4425 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #26 0x00007f354e8d4c2b 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 #27 0x00007f354e8d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x00007f354e8d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f354e8d4c2b (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:31 #30 0x00007f354e8d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f354e8d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f354e8d6cdb 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 #33 0x00007f354e8e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f354e8e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f354e8e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #36 0x00007f354e8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #37 0x00007f354e8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #38 0x00007f354e8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #39 0x00007f354e8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f354e8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f354e8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #42 0x00007f354e83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007f354e83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007f354e83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #45 0x00007f354e83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #46 0x00007f354ed8e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x00007f354ed8e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007f354ed8e15d 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 #49 0x00007f354ed8e15d 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 #50 0x00007f354e988a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #51 0x00007f354e988a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #52 0x00007f354e988a58 (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 #53 0x00007f354e9aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #54 0x00007f354e9aaac1 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:48 #55 0x00007f354e83cd48 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 #56 0x00007f354e87eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #57 0x00007f354e87eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #58 0x00007f354e87eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #59 0x00007f354e87eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #60 0x00007f354e87eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #61 0x00007f354e87eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #62 0x00007f354e87eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #63 0x00007f354e87eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #64 0x00007f354e87eb8e 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:695:0 #65 0x00007f354e87f767 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:0 #66 0x00007f354e89c6f1 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 0x00007f354e89c6f1 clang::ento::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 0x00007f354e89dc4e clang::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 0x00007f354e89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f354e83fac2 clang::ento::CoreEngine::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 0x00007f354e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #72 0x00007f354e85109a clang::ento::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 0x00007f354eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #74 0x00007f354eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #75 0x00007f354eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #76 0x00007f354eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #77 0x00007f354eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #78 0x00007f354eb4e0a7 llvm::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 0x00007f354eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x00007f354eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #81 0x00007f354eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x00007f354eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x00007f354eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x00007f354eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x00007f354eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x00007f354cf0724a __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 0x00007f354cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x00007f354cf0724a void clang::finalize>, 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 0x00007f354cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x00007f354e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #91 0x00007f354e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #92 0x00007f354e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #93 0x00007f354e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #94 0x00007f354e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #95 0x00005635acc12a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x00005635acc1670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x00005635acc18440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x00005635acc0c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x00007f354523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #100 0x00007f354523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #101 0x00005635acc0c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals-are-not-always-immutable.c.script: line 1: 555524 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/gtest.cpp (781 of 19712) ******************** TEST 'Clang :: Analysis/gtest.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb7067d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb7067ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb7067d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb705854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb70ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb70ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb70ee72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb70ee72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fb70ee72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fb70ee72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fb70ee72b29 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:89 #11 0x00007fb70ee72e8c 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 #12 0x00007fb70ee72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fb70ee72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb70ee72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fb70ee72e8c 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:53 #16 0x00007fb70ee7347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007fb70ee7347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007fb70ee7347f 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:62 #19 0x00007fb70ee9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007fb70ee9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007fb70ee9a404 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 #22 0x00007fb70ee9a404 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 #23 0x00007fb70ee9c69e 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 0x00007fb70ee9c69e clang::ento::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 #25 0x00007fb70ee9dc4e clang::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 0x00007fb70ee9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb70ee3fac2 clang::ento::CoreEngine::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 0x00007fb70ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x00007fb70ee5109a clang::ento::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 0x00007fb70f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb70f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb70f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x00007fb70f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x00007fb70f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x00007fb70f14e0a7 llvm::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 0x00007fb70f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x00007fb70f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x00007fb70f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x00007fb70f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x00007fb70f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x00007fb70f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x00007fb70f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x00007fb70d50724a __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 0x00007fb70d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x00007fb70d50724a void clang::finalize>, 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 0x00007fb70d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x00007fb70ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #48 0x00007fb70ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #49 0x00007fb70ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #50 0x00007fb70ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #51 0x00007fb70ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #52 0x000055793cb00a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x000055793cb0470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x000055793cb06440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x000055793cafa903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x00007fb70583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #57 0x00007fb70583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #58 0x000055793cafa945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/gtest.cpp.script: line 2: 555571 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/gmalloc.c (782 of 19712) ******************** TEST 'Clang :: Analysis/gmalloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f042dbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f042dbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f042dbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f042cc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0436614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0436614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0436614a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0436614a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0436614a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0436614a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0436614a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0436614a5e (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 0x00007f04363e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f04363e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f04363e8fd5 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 0x00007f043622397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f043622397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f043622397a 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:29 #18 0x00007f043622397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f04362e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f04362e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f04362e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f04362e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f04362e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f04362e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f04362e9060 clang::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 0x00007f043623db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f043623db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f043623db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f043623db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f0436786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f0436786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f0436786b68 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 0x00007f0436415ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f0436415ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f0436415ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f0436415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f0436415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f0436415ff0 (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 0x00007f043641731a llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f043641731a llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f043641731a (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 0x00007f043641851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f043641851b 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 0x00007f043622561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f043622561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f043622561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f043622561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f043622561d 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:26 #49 0x00007f043627ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f043627ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f043627ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f043627ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f043627ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f043627ecbc 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:0 #55 0x00007f043627f767 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:0 #56 0x00007f043629c6f1 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 0x00007f043629c6f1 clang::ento::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 0x00007f043629dc4e clang::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 0x00007f043629df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f043623fac2 clang::ento::CoreEngine::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 0x00007f043625109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f043625109a clang::ento::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 0x00007f043654c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f043654c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f043654c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f043654c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f043654c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f043654e0a7 llvm::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 0x00007f043654e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f043654e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f0436551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f0436551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f0436551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f0436551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f0436551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f043490724a __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 0x00007f043490724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f043490724a void clang::finalize>, 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 0x00007f043490724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f0436044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f0435ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f0435ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f0435ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f04360948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000056477b64ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000056477b65070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000056477b652440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000056477b646903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f042cc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f042cc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000056477b646945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/gmalloc.c.script: line 1: 555550 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/hangs.c (783 of 19712) ******************** TEST 'Clang :: Analysis/hangs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fee4ffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fee4ffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fee4ffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fee59718ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fee586ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fee586ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fee586ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fee586ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fee586ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fee586ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fee5866f34b 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 #11 0x00007fee5866f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fee5866f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fee5866f34b 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:50 #14 0x00007fee5869db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fee5869df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fee5863f9ea 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 #17 0x00007fee5863fb9e 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:223:0 #18 0x00007fee5865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fee5865109a clang::ento::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 0x00007fee5894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fee5894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fee5894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fee5894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fee5894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fee5894e0a7 llvm::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 0x00007fee5894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fee5894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fee58951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fee58951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fee58951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fee58951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fee58951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fee56d0724a __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 0x00007fee56d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fee56d0724a void clang::finalize>, 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 0x00007fee56d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fee58444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fee583f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fee583f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fee583f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fee584948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055acdd9b7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055acdd9bb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055acdd9bd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055acdd9b1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fee59702f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fee59703009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055acdd9b1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/hangs.c.script: line 1: 555588 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/handle_constructors_for_default_arguments.cpp (785 of 19712) ******************** TEST 'Clang :: Analysis/handle_constructors_for_default_arguments.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fae0c7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fae0c7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fae0c7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fae0b854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fae15235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fae15235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fae15235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fae15235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fae15235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fae15235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fae15235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fae15235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fae14ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fae14ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fae14ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fae14ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fae14ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fae14ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fae14ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fae14ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fae14ed4e65 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 #21 0x00007fae14ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fae14ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fae14ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fae14eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fae14eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fae14eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fae14ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fae14ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fae14ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fae14ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fae14ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fae14ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fae14ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fae14ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fae14ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fae14ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fae14ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fae14ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fae14e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fae14e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fae14e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fae14e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fae15386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fae15386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fae15386b68 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 #46 0x00007fae14e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fae14e69db3 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 #48 0x00007fae14e69db3 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 #49 0x00007fae14e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fae14e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fae14e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fae14e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fae14e9d93e clang::ento::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 #54 0x00007fae14e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fae14e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fae14e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fae14e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fae14e5109a clang::ento::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 0x00007fae1514c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fae1514c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fae1514c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fae1514c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fae1514c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fae1514e0a7 llvm::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 0x00007fae1514e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fae1514e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fae15151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fae15151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fae15151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fae15151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fae15151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fae1350724a __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 0x00007fae1350724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fae1350724a void clang::finalize>, 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 0x00007fae1350724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fae14c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fae14bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fae14bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fae14bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fae14c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055cf17f6ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055cf17f6f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055cf17f71440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055cf17f65903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fae0b83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fae0b83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055cf17f65945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_for_default_arguments.cpp.script: line 1: 555573 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (786 of 19712) ******************** TEST 'Clang :: Analysis/handle_constructors_with_new_array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007efd1c7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efd1c7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efd1c7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efd1b854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efd25235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007efd25235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007efd25235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007efd25235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007efd25235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007efd25235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007efd25235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007efd25235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007efd24ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007efd24ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007efd24ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007efd24ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007efd24ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007efd24ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007efd24ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007efd24ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007efd24ed4e65 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 #21 0x00007efd24ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007efd24ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007efd24ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007efd24eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007efd24eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007efd24eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007efd24ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007efd24ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007efd24ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007efd24ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007efd24ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007efd24ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007efd24ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007efd24ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007efd24ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007efd24ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007efd24ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007efd24ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007efd24e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007efd24e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007efd24e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007efd24e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007efd24e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007efd24e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007efd24e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007efd24e97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007efd24e97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007efd24e97620 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 #49 0x00007efd24e97620 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 #50 0x00007efd24e977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007efd24e977b2 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 0x00007efd24e9dfaf clang::ento::ExprEngine::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 0x00007efd24e3fac2 clang::ento::CoreEngine::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 0x00007efd24e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007efd24e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007efd2514c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007efd2514c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007efd2514c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007efd2514c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007efd2514c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007efd2514e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007efd2514e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007efd2514e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007efd25151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007efd25151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007efd25151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007efd25151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007efd25151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007efd2350724a __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 0x00007efd2350724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007efd2350724a void clang::finalize>, 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 0x00007efd2350724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007efd24c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007efd24bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007efd24bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007efd24bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007efd24c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000564edb767a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000564edb76b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000564edb76d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000564edb761903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007efd1b83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007efd1b83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000564edb761945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_with_new_array.cpp.script: line 1: 555581 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/html_diagnostics/control-arrows.cpp (787 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/control-arrows.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -fR /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fd9e15d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd9e15ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd9e15d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd9e0654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd9ea035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd9ea035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd9ea035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd9ea035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd9ea035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd9ea035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd9ea035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd9ea035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd9e9cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd9e9cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd9e9cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd9e9cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd9e9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd9e9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd9e9cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd9e9cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd9e9cd4c2b 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 #21 0x00007fd9e9cd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd9e9cd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd9e9cd4c2b (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:31 #24 0x00007fd9e9cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd9e9cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd9e9cd6cdb 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 #27 0x00007fd9e9cd64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd9e9cd64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd9e9cd64ad 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 #30 0x00007fd9e9ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd9e9ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd9e9ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd9e9ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd9e9ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd9e9ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd9e9ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd9e9ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd9e9ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd9e9c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd9e9c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd9e9c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd9e9c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd9ea186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fd9ea186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fd9ea186b68 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 #46 0x00007fd9e9c6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fd9e9c6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fd9e9c6bf90 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 #49 0x00007fd9e9c6bf90 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 #50 0x00007fd9e9c6bf90 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 #51 0x00007fd9e9c6bf90 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 #52 0x00007fd9e9c6bf90 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 #53 0x00007fd9e9c6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fd9e9c6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fd9e9c6bf90 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 #56 0x00007fd9e9c3f21a 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:0 #57 0x00007fd9e9c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fd9e9c5109a clang::ento::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 0x00007fd9e9f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fd9e9f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fd9e9f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fd9e9f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fd9e9f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fd9e9f4e0a7 llvm::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 0x00007fd9e9f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fd9e9f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fd9e9f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fd9e9f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fd9e9f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fd9e9f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fd9e9f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fd9e830724a __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 0x00007fd9e830724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fd9e830724a void clang::finalize>, 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 0x00007fd9e830724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fd9e9a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fd9e99f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fd9e99f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fd9e99f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fd9e9a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000558d030c2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000558d030c670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000558d030c8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000558d030bc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fd9e063ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fd9e063f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000558d030bc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.script: line 4: 555635 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/goto.c (788 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f316e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f316e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f316e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f316d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3177035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3177035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3177035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3177035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3177035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3177035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3177035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3177035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3176cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3176cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3176cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3176cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3176cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3176cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3176cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3176cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3176cd4e65 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 #21 0x00007f3176cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3176cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3176cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3176cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3176cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3176cd6cdb 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 #27 0x00007f3176cd64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3176cd64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3176cd64ad 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 #30 0x00007f3176ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3176ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3176ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3176ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3176ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3176ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3176ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3176ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3176ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3176c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3176c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3176c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3176c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3177186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3177186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3177186b68 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 #46 0x00007f3176c6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f3176c6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f3176c6bf90 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 #49 0x00007f3176c6bf90 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 #50 0x00007f3176c6bf90 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 #51 0x00007f3176c6bf90 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 #52 0x00007f3176c6bf90 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 #53 0x00007f3176c6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f3176c6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f3176c6bf90 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 #56 0x00007f3176c3f21a 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:0 #57 0x00007f3176c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3176c5109a clang::ento::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 0x00007f3176f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3176f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3176f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3176f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3176f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3176f4e0a7 llvm::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 0x00007f3176f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3176f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3176f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3176f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3176f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3176f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3176f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f317530724a __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 0x00007f317530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f317530724a void clang::finalize>, 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 0x00007f317530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3176a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f31769f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f31769f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f31769f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3176a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055885606ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055885606f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000558856071440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000558856065903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f316d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f316d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000558856065945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.script: line 3: 555636 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/relevant_lines/macros_same_file.c (789 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f857f1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f857f1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f857f1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f857e254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8587c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8587c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8587c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8587c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8587c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8587c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8587c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8587c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f85878d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f85878d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f85878d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f85878d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f85878d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f85878d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f85878d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f85878d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f85878d4e65 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 #21 0x00007f85878d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f85878d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f85878d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f85878d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f85878d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f85878d6cdb 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 #27 0x00007f85878d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f85878d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f85878d64ad 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 #30 0x00007f85878e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f85878e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f85878e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f85878e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f85878e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f85878e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f85878e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f85878e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f85878e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f858783da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f858783da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f858783da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f858783da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8587d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8587d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8587d86b68 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 #46 0x00007f858786bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f858786bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f858786bf90 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 #49 0x00007f858786bf90 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 #50 0x00007f858786bf90 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 #51 0x00007f858786bf90 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 #52 0x00007f858786bf90 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 #53 0x00007f858786bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f858786bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f858786bf90 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 #56 0x00007f858783f21a 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:0 #57 0x00007f858785109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f858785109a clang::ento::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 0x00007f8587b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f8587b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f8587b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f8587b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f8587b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f8587b4e0a7 llvm::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 0x00007f8587b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f8587b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f8587b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f8587b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f8587b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f8587b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f8587b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f8585f0724a __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 0x00007f8585f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f8585f0724a void clang::finalize>, 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 0x00007f8585f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f8587644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f85875f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f85875f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f85875f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f85876948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055716a71da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055716a72170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055716a723440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055716a717903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f857e23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f857e23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055716a717945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.script: line 3: 555644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/multiline_func_def.c (792 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f6c0a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6c0a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6c0a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6c09a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6c13435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6c13435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6c13435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6c13435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6c13435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6c13435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6c13435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6c13435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6c130d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6c130d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6c130d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6c130d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6c130d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6c130d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6c130d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6c130d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6c130d4e65 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 #21 0x00007f6c130d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6c130d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6c130d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6c130d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6c130d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6c130d6cdb 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 #27 0x00007f6c130d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6c130d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6c130d64ad 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 #30 0x00007f6c130e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6c130e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6c130e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6c130e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6c130e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6c130e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6c130e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6c130e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6c130e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6c1303da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6c1303da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6c1303da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6c1303da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6c13586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6c13586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6c13586b68 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 #46 0x00007f6c1306bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f6c1306bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f6c1306bf90 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 #49 0x00007f6c1306bf90 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 #50 0x00007f6c1306bf90 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 #51 0x00007f6c1306bf90 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 #52 0x00007f6c1306bf90 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 #53 0x00007f6c1306bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f6c1306bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f6c1306bf90 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 #56 0x00007f6c1303f21a 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:0 #57 0x00007f6c1305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f6c1305109a clang::ento::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 0x00007f6c1334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f6c1334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f6c1334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f6c1334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f6c1334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f6c1334e0a7 llvm::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 0x00007f6c1334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f6c1334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f6c13351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f6c13351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f6c13351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f6c13351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f6c13351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f6c1170724a __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 0x00007f6c1170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f6c1170724a void clang::finalize>, 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 0x00007f6c1170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6c12e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f6c12df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f6c12df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f6c12df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f6c12e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a5a94fca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a5a950070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a5a9502440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a5a94f6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6c09a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6c09a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a5a94f6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.script: line 3: 555681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/synthesized_body.cpp (793 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fd9025d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd9025ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd9025d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd901654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd90ac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd90ac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd90ac6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd90ac6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fd90ac6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fd90ac6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fd90ac6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fd90ac6efd6 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 0x00007fd90ac9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fd90ac9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fd90ac3f9ea 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 #15 0x00007fd90ac3fb9e 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:223:0 #16 0x00007fd90ac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fd90ac5109a clang::ento::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 0x00007fd90af4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fd90af4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fd90af4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fd90af4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fd90af4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fd90af4e0a7 llvm::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 0x00007fd90af4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fd90af4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fd90af51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fd90af51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fd90af51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fd90af51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fd90af51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fd90930724a __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 0x00007fd90930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fd90930724a void clang::finalize>, 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 0x00007fd90930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fd90aa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fd90a9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fd90a9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fd90a9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fd90aa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055dcfe7e7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055dcfe7eb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055dcfe7ed440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055dcfe7e1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fd90163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fd90163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055dcfe7e1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.script: line 3: 555715 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/multifile.c (794 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fac777d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fac777ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fac777d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fac76854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fac80235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fac80235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fac80235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fac80235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fac80235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fac80235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fac80235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fac80235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fac7fed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fac7fed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fac7fed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fac7fed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fac7fed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fac7fed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fac7fed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fac7fed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fac7fed4e65 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 #21 0x00007fac7fed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fac7fed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fac7fed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fac7fed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fac7fed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fac7fed6cdb 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 #27 0x00007fac7fed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fac7fed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fac7fed64ad 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 #30 0x00007fac7fee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fac7fee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fac7fee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fac7fee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fac7fee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fac7fee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fac7fee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fac7fee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fac7fee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fac7fe3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fac7fe3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fac7fe3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fac7fe3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fac80386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fac80386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fac80386b68 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 #46 0x00007fac7fe6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fac7fe6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fac7fe6bf90 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 #49 0x00007fac7fe6bf90 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 #50 0x00007fac7fe6bf90 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 #51 0x00007fac7fe6bf90 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 #52 0x00007fac7fe6bf90 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 #53 0x00007fac7fe6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fac7fe6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fac7fe6bf90 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 #56 0x00007fac7fe3f21a 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:0 #57 0x00007fac7fe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fac7fe5109a clang::ento::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 0x00007fac8014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fac8014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fac8014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fac8014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fac8014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fac8014e0a7 llvm::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 0x00007fac8014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fac8014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fac80151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fac80151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fac80151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fac80151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fac80151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fac7e50724a __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 0x00007fac7e50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fac7e50724a void clang::finalize>, 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 0x00007fac7e50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fac7fc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fac7fbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fac7fbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fac7fbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fac7fc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000562e6e92ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000562e6e93070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000562e6e932440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000562e6e926903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fac7683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fac7683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000562e6e926945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.script: line 3: 555669 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/switch_default.c (795 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f9c393d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9c393ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9c393d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9c38454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9c41e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9c41e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9c41e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9c41e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9c41e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9c41e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9c41e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9c41e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9c41ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9c41ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9c41ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9c41ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9c41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9c41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9c41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9c41ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9c41ad5f52 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 #21 0x00007f9c41ad5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9c41ad5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9c41ad5f52 (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:34 #24 0x00007f9c41ad6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9c41ad6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9c41ad6a41 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 #27 0x00007f9c41ab415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9c41ab415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9c41ab415f 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 #30 0x00007f9c41a3e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9c41a3e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9c41a3e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f9c41a3e340 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:0 #34 0x00007f9c41a6cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f9c41a6cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f9c41a6cbca 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 #37 0x00007f9c41a6cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f9c41a3f712 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 #39 0x00007f9c41a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f9c41a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f9c41d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f9c41d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f9c41d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f9c41d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f9c41d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f9c41d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f9c41d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f9c41d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f9c41d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f9c41d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f9c41d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f9c41d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f9c41d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f9c4010724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f9c4010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f9c4010724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f9c4010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f9c41844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f9c417f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f9c417f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f9c417f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f9c418948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000055b2f0a31a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000055b2f0a3570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000055b2f0a37440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000055b2f0a2b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f9c3843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f9c3843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x000055b2f0a2b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.script: line 3: 555717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (796 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f341d9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f341d9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f341d9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f341ca54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3426435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3426435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3426435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3426435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3426435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3426435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3426435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3426435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f34260d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f34260d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f34260d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f34260d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f34260d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f34260d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f34260d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f34260d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f34260d5f52 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 #21 0x00007f34260d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f34260d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f34260d5f52 (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:34 #24 0x00007f34260d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f34260d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f34260d6a41 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 #27 0x00007f34260b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f34260b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f34260b415f 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 #30 0x00007f342603e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f342603e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f342603e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f342603e340 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:0 #34 0x00007f342606cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f342606cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f342606cbca 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 #37 0x00007f342606cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f342603f712 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 #39 0x00007f342605109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f342605109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f342634c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f342634c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f342634c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f342634c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f342634c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f342634e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f342634e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f342634e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f3426351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f3426351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f3426351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f3426351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f3426351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f342470724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f342470724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f342470724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f342470724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f3425e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f3425df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f3425df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f3425df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f3425e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000055905c13da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000055905c14170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000055905c143440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000055905c137903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f341ca3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f341ca3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x000055905c137945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.script: line 3: 555704 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/objcmethods.m (797 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f22249d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f22249ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f22249d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2223a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f222d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f222d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f222d435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f222d435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f222d435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f222d435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f222d435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f222d435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f222d0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f222d0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f222d0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f222d0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f222d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f222d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f222d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f222d0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f222d0d4e65 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 #21 0x00007f222d0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f222d0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f222d0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f222d0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f222d0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f222d0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f222d0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f222d0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f222d0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f222d0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f222d0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f222d0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f222d0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f222d0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f222d0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f222d0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f222d0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f222d0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f222d03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f222d03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f222d03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f222d03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f222d586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f222d586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f222d586b68 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 #46 0x00007f222d09808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f222d09808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f222d09808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f222d09808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f222d09808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f222d09808c 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 #52 0x00007f222d09bfee 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 #53 0x00007f222d09bfee clang::ento::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 #54 0x00007f222d09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f222d09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f222d03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f222d05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f222d05109a clang::ento::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 0x00007f222d34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f222d34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f222d34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f222d34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f222d34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f222d34e0a7 llvm::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 0x00007f222d34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f222d34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f222d351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f222d351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f222d351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f222d351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f222d351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f222b70724a __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 0x00007f222b70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f222b70724a void clang::finalize>, 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 0x00007f222b70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f222ce44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f222cdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f222cdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f222cdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f222ce948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055c42df08a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055c42df0c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055c42df0e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055c42df02903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f2223a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f2223a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055c42df02945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.script: line 3: 555691 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (798 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fa328fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa328fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa328fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa328054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa331a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa331a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa331a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa331a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa331a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa331a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa331a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa331a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa3316d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa3316d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa3316d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa3316d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa3316d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa3316d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa3316d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa3316d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa3316d4e65 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 #21 0x00007fa3316d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa3316d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa3316d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa3316d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa3316d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa3316d6cdb 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 #27 0x00007fa3316d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa3316d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa3316d64ad 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 #30 0x00007fa3316e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa3316e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa3316e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa3316e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa3316e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa3316e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa3316e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa3316e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa3316e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa33163da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa33163da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa33163da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa33163da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa331b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa331b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa331b86b68 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 #46 0x00007fa33166bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fa33166bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fa33166bf90 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 #49 0x00007fa33166bf90 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 #50 0x00007fa33166bf90 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 #51 0x00007fa33166bf90 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 #52 0x00007fa33166bf90 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 #53 0x00007fa33166bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fa33166bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fa33166bf90 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 #56 0x00007fa33163f21a 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:0 #57 0x00007fa33165109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fa33165109a clang::ento::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 0x00007fa33194c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fa33194c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fa33194c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fa33194c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fa33194c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fa33194e0a7 llvm::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 0x00007fa33194e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fa33194e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fa331951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fa331951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fa331951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fa331951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fa331951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fa32fd0724a __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 0x00007fa32fd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fa32fd0724a void clang::finalize>, 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 0x00007fa32fd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fa331444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fa3313f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fa3313f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fa3313f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fa3314948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055aecdd81a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055aecdd8570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055aecdd87440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055aecdd7b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fa32803ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fa32803f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055aecdd7b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.script: line 3: 555702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/implicit-ctor-undef-value.cpp (799 of 19712) ******************** TEST 'Clang :: Analysis/implicit-ctor-undef-value.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f13f83d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f13f83ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f13f83d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f13f7454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1400a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1400a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1400a6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1400a6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f1400a6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f1400a6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f1400a6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f1400a6efd6 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 0x00007f1400a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f1400a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f1400a3f9ea 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 #15 0x00007f1400a3fb9e 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:223:0 #16 0x00007f1400a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f1400a5109a clang::ento::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 0x00007f1400d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f1400d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f1400d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f1400d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f1400d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f1400d4e0a7 llvm::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 0x00007f1400d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f1400d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f1400d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f1400d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f1400d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f1400d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f1400d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f13ff10724a __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 0x00007f13ff10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f13ff10724a void clang::finalize>, 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 0x00007f13ff10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f1400844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f14007f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f14007f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f14007f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f14008948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000561b03c77a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000561b03c7b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000561b03c7d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000561b03c71903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f13f743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f13f743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000561b03c71945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/implicit-ctor-undef-value.cpp.script: line 1: 555779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/html_diagnostics/relevant_lines/unused_header.c (800 of 19712) ******************** 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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f1c4d3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1c4d3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1c4d3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1c4c454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1c55e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1c55e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1c55e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1c55e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1c55e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1c55e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1c55e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1c55e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1c55ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1c55ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1c55ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1c55ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1c55ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1c55ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1c55ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1c55ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1c55ad4e65 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 #21 0x00007f1c55ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1c55ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1c55ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1c55ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1c55ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1c55ad6cdb 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 #27 0x00007f1c55ad64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1c55ad64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1c55ad64ad 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 #30 0x00007f1c55ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1c55ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1c55ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1c55ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1c55ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1c55ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1c55ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1c55ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1c55ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1c55a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1c55a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1c55a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1c55a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1c55f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1c55f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1c55f86b68 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 #46 0x00007f1c55a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f1c55a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f1c55a6bf90 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 #49 0x00007f1c55a6bf90 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 #50 0x00007f1c55a6bf90 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 #51 0x00007f1c55a6bf90 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 #52 0x00007f1c55a6bf90 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 #53 0x00007f1c55a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f1c55a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f1c55a6bf90 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 #56 0x00007f1c55a3f21a 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:0 #57 0x00007f1c55a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f1c55a5109a clang::ento::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 0x00007f1c55d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1c55d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1c55d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f1c55d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f1c55d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f1c55d4e0a7 llvm::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 0x00007f1c55d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f1c55d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1c55d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1c55d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1c55d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1c55d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1c55d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f1c5410724a __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 0x00007f1c5410724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f1c5410724a void clang::finalize>, 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 0x00007f1c5410724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1c55844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1c557f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1c557f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1c557f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1c558948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e058e67a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e058e6b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e058e6d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e058e61903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1c4c43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1c4c43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e058e61945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.script: line 3: 555742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (801 of 19712) ******************** TEST 'Clang :: Analysis/identical-expressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fac0cfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fac0cfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fac0cfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fac0c054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fac15a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fac15a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fac15a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fac15a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fac15a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fac15a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fac15a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fac15a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fac156d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fac156d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fac156d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fac156d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fac156d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fac156d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fac156d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fac156d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fac156d4e65 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 #21 0x00007fac156d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fac156d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fac156d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fac156b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fac156b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fac156b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fac156d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fac156d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fac156d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fac156e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fac156e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fac156e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fac156e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fac156e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fac156e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fac156e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fac156e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fac156e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fac1563da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fac1563da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fac1563da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fac1563da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fac15b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fac15b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fac15b86b68 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 #46 0x00007fac15669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fac15669db3 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 #48 0x00007fac15669db3 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 #49 0x00007fac1569d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fac1569d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fac1569d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fac1569d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fac1569d93e clang::ento::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 #54 0x00007fac1569dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fac1569df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fac1563fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fac1565109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fac1565109a clang::ento::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 0x00007fac1594c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fac1594c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fac1594c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fac1594c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fac1594c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fac1594e0a7 llvm::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 0x00007fac1594e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fac1594e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fac15951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fac15951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fac15951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fac15951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fac15951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fac13d0724a __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 0x00007fac13d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fac13d0724a void clang::finalize>, 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 0x00007fac13d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fac15444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fac153f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fac153f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fac153f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fac154948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561cd0c4ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561cd0c5270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561cd0c54440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561cd0c48903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fac0c03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fac0c03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561cd0c48945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/identical-expressions.cpp.script: line 1: 555774 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/infeasible-crash.c (802 of 19712) ******************** TEST 'Clang :: Analysis/infeasible-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fddbabd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fddbabceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fddbabd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fddb9c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fddc32ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fddc32ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fddc32ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fddc32ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fddc32ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fddc32ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fddc326f34b 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 #11 0x00007fddc326f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fddc326f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fddc326f34b 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:50 #14 0x00007fddc329db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fddc329df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fddc323f9ea 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 #17 0x00007fddc323fb9e 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:223:0 #18 0x00007fddc325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fddc325109a clang::ento::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 0x00007fddc354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fddc354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fddc354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fddc354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fddc354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fddc354e0a7 llvm::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 0x00007fddc354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fddc354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fddc3551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fddc3551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fddc3551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fddc3551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fddc3551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fddc190724a __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 0x00007fddc190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fddc190724a void clang::finalize>, 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 0x00007fddc190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fddc3044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fddc2ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fddc2ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fddc2ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fddc30948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000556ddfb53a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000556ddfb5770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000556ddfb59440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000556ddfb4d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fddb9c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fddb9c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000556ddfb4d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-crash.c.script: line 1: 555824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/initializer.cpp (804 of 19712) ******************** TEST 'Clang :: Analysis/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007facd71d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007facd71ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007facd71d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007facd6254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007facdf86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007facdf86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007facdf86efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007facdf86efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007facdf86efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007facdf86efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007facdf86efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007facdf86efd6 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 0x00007facdf89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007facdf89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007facdf83f9ea 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 #15 0x00007facdf83fb9e 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:223:0 #16 0x00007facdf85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007facdf85109a clang::ento::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 0x00007facdfb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007facdfb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007facdfb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007facdfb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007facdfb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007facdfb4e0a7 llvm::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 0x00007facdfb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007facdfb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007facdfb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007facdfb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007facdfb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007facdfb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007facdfb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007facddf0724a __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 0x00007facddf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007facddf0724a void clang::finalize>, 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 0x00007facddf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007facdf644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007facdf5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007facdf5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007facdf5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007facdf6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000559137adaa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000559137ade70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000559137ae0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000559137ad4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007facd623ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007facd623f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000559137ad4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/initializer.cpp.script: line 4: 555852 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/incorrect-checker-names.mm (805 of 19712) ******************** TEST 'Clang :: Analysis/incorrect-checker-names.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9548fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9548fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9548fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9548054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9551a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9551a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9551a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9551a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9551a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9551a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9551a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9551a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f95516d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f95516d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f95516d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f95516d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f95516d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f95516d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f95516d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f95516d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f95516d4e65 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 #21 0x00007f95516d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f95516d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f95516d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f95516b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f95516b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f95516b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f95516d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f95516d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f95516d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f95516e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f95516e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f95516e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f95516e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f95516e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f95516e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f95516e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f95516e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f95516e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f955163da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f955163da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f955163da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f955163da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9551b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9551b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9551b86b68 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 #46 0x00007f955177f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f955177f794 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:0 #48 0x00007f955177f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f955177f794 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:0 #50 0x00007f955161b7ad 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:5 #51 0x00007f9551668471 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 #52 0x00007f9551668471 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 #53 0x00007f955166e9d7 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 #54 0x00007f955166e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f955166e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f955166e9d7 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 #57 0x00007f95516762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f95516762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f95516762c7 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:51 #60 0x00007f955169d82f 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 0x00007f955169d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #62 0x00007f955169dc4e clang::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 0x00007f955169df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f955163fac2 clang::ento::CoreEngine::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 0x00007f955165109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f955165109a clang::ento::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 0x00007f955194c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f955194c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f955194c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f955194c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f955194c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f955194e0a7 llvm::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 0x00007f955194e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f955194e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f9551951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f9551951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f9551951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f9551951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f9551951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f954fd0724a __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 0x00007f954fd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f954fd0724a void clang::finalize>, 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 0x00007f954fd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f9551444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f95513f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f95513f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f95513f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f95514948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000056207a3e9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000056207a3ed70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000056207a3ef440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000056207a3e3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f954803ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f954803f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x000056207a3e3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/incorrect-checker-names.mm.script: line 1: 555804 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline.cpp (806 of 19712) ******************** TEST 'Clang :: Analysis/inline.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4c2e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4c2e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4c2e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4c2d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4c36c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f4c36c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4c36c6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4c36c6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f4c36c6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f4c36c6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f4c36c6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f4c36c6efd6 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 0x00007f4c36c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f4c36c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f4c36c3f9ea 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 #15 0x00007f4c36c3fb9e 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:223:0 #16 0x00007f4c36c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f4c36c5109a clang::ento::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 0x00007f4c36f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f4c36f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f4c36f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f4c36f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f4c36f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f4c36f4e0a7 llvm::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 0x00007f4c36f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f4c36f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f4c36f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f4c36f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f4c36f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f4c36f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f4c36f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f4c3530724a __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 0x00007f4c3530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f4c3530724a void clang::finalize>, 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 0x00007f4c3530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f4c36a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f4c369f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f4c369f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f4c369f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f4c36a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000559ae2702a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000559ae270670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000559ae2708440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000559ae26fc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f4c2d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f4c2d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000559ae26fc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline.cpp.script: line 1: 555898 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/infeasible-sink.c (807 of 19712) ******************** TEST 'Clang :: Analysis/infeasible-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f79531d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f79531ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f79531d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7952254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f795bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f795bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f795bc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f795bc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f795bc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f795bc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f795bc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f795bc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f795b8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f795b8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f795b8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f795b8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f795b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f795b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f795b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f795b8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f795b8d4e65 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 #21 0x00007f795b8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f795b8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f795b8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f795b8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f795b8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f795b8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f795b8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f795b8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f795b8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f795b8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f795b8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f795b8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f795b8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f795b8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f795b8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f795b8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f795b8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f795b8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f795b83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f795b83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f795b83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f795b83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f795bd86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f795bd86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f795bd86b68 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 #46 0x00007f795b86bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f795b86bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f795b86bf90 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 #49 0x00007f795b86bf90 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 #50 0x00007f795b86bf90 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 #51 0x00007f795b86bf90 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 #52 0x00007f795b86bf90 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 #53 0x00007f795b86bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f795b86bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f795b86bf90 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 #56 0x00007f795b83f21a 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:0 #57 0x00007f795b85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f795b85109a clang::ento::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 0x00007f795bb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f795bb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f795bb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f795bb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f795bb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f795bb4e0a7 llvm::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 0x00007f795bb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f795bb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f795bb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f795bb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f795bb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f795bb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f795bb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f7959f0724a __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 0x00007f7959f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f7959f0724a void clang::finalize>, 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 0x00007f7959f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f795b644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f795b5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f795b5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f795b5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f795b6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055ea86ff4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055ea86ff870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055ea86ffa440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055ea86fee903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f795223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f795223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055ea86fee945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-sink.c.script: line 1: 555828 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inlining/InlineObjCInstanceMethod.m (808 of 19712) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCInstanceMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc9b21d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc9b21ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc9b21d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc9b1254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc9ba8454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc9ba8454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc9ba8454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc9ba8454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc9ba8454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc9ba8454e6 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 0x00007fc9ba8454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc9ba8454e6 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:0 #12 0x00007fc9bac218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fc9bac218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fc9bac218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007fc9bac218a5 (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 0x00007fc9ba81bfa7 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 0x00007fc9ba86f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007fc9ba86f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007fc9ba86f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007fc9ba86f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007fc9ba86f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007fc9ba86f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007fc9ba86f23c 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 0x00007fc9ba89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007fc9ba89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007fc9ba83fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007fc9ba85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007fc9ba85109a clang::ento::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 0x00007fc9bab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fc9bab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fc9bab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007fc9bab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007fc9bab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007fc9bab4e0a7 llvm::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 0x00007fc9bab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007fc9bab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007fc9bab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007fc9bab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007fc9bab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007fc9bab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007fc9bab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007fc9b8f0724a __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 0x00007fc9b8f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007fc9b8f0724a void clang::finalize>, 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 0x00007fc9b8f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007fc9ba644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007fc9ba5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007fc9ba5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007fc9ba5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007fc9ba6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x00005591e660fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x00005591e661370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x00005591e6615440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x00005591e6609903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007fc9b123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007fc9b123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x00005591e6609945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCInstanceMethod.m.script: line 1: 555921 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline-plist.c (809 of 19712) ******************** TEST 'Clang :: Analysis/inline-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f4d143d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4d143ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4d143d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4d13454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4d1ce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4d1ce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4d1ce35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4d1ce35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4d1ce35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4d1ce35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4d1ce35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4d1ce35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4d1cad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4d1cad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4d1cad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4d1cad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4d1cad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4d1cad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4d1cad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4d1cad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4d1cad4e65 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 #21 0x00007f4d1cad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4d1cad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4d1cad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4d1cab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4d1cab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4d1cab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4d1cad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4d1cad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4d1cad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4d1cae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4d1cae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4d1cae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4d1cae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4d1cae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4d1cae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4d1cae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4d1cae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4d1cae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4d1ca3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4d1ca3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4d1ca3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4d1ca3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4d1cf86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4d1cf86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4d1cf86b68 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 #46 0x00007f4d1ca6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4d1ca6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4d1ca6bf90 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 #49 0x00007f4d1ca6bf90 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 #50 0x00007f4d1ca6bf90 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 #51 0x00007f4d1ca6bf90 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 #52 0x00007f4d1ca6bf90 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 #53 0x00007f4d1ca6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4d1ca6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4d1ca6bf90 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 #56 0x00007f4d1ca3f21a 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:0 #57 0x00007f4d1ca5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4d1ca5109a clang::ento::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 0x00007f4d1cd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4d1cd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4d1cd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4d1cd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4d1cd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4d1cd4e0a7 llvm::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 0x00007f4d1cd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4d1cd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4d1cd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4d1cd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4d1cd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4d1cd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4d1cd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4d1b10724a __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 0x00007f4d1b10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4d1b10724a void clang::finalize>, 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 0x00007f4d1b10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4d1c844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4d1c7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4d1c7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4d1c7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4d1c8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005633f7997a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005633f799b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005633f799d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005633f7991903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4d1343ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4d1343f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005633f7991945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.script: line 3: 555874 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline4.c (810 of 19712) ******************** TEST 'Clang :: Analysis/inline4.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f40327d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f40327ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f40327d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4031854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f403b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f403b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f403b235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f403b235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f403b235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f403b235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f403b235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f403b235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f403aed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f403aed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f403aed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f403aed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f403aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f403aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f403aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f403aed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f403aed4e65 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 #21 0x00007f403aed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f403aed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f403aed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f403aed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f403aed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f403aed6cdb 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 #27 0x00007f403aed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f403aed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f403aed64ad 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 #30 0x00007f403aee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f403aee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f403aee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f403aee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f403aee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f403aee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f403aee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f403aee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f403aee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f403ae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f403ae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f403ae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f403ae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f403b386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f403b386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f403b386b68 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 #46 0x00007f403ae6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f403ae6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f403ae6bf90 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 #49 0x00007f403ae6bf90 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 #50 0x00007f403ae6bf90 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 #51 0x00007f403ae6bf90 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 #52 0x00007f403ae6bf90 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 #53 0x00007f403ae6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f403ae6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f403ae6bf90 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 #56 0x00007f403ae3f21a 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:0 #57 0x00007f403ae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f403ae5109a clang::ento::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 0x00007f403b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f403b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f403b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f403b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f403b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f403b14e0a7 llvm::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 0x00007f403b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f403b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f403b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f403b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f403b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f403b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f403b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f403950724a __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 0x00007f403950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f403950724a void clang::finalize>, 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 0x00007f403950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f403ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f403abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f403abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f403abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f403ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000556eebe03a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000556eebe0770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000556eebe09440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000556eebdfd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f403183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f403183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000556eebdfd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline4.c.script: line 1: 555907 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/inline3.c (812 of 19712) ******************** TEST 'Clang :: Analysis/inline3.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f11cafd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f11cafceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f11cafd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f11ca054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f11d3a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f11d3a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f11d3a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f11d3a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f11d3a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f11d3a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f11d3a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f11d3a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f11d36d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f11d36d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f11d36d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f11d36d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f11d36d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f11d36d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f11d36d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f11d36d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f11d36d4e65 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 #21 0x00007f11d36d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f11d36d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f11d36d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f11d36d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f11d36d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f11d36d6cdb 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 #27 0x00007f11d36d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f11d36d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f11d36d64ad 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 #30 0x00007f11d36e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f11d36e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f11d36e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f11d36e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f11d36e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f11d36e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f11d36e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f11d36e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f11d36e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f11d363da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f11d363da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f11d363da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f11d363da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f11d3b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f11d3b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f11d3b86b68 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 #46 0x00007f11d366bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f11d366bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f11d366bf90 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 #49 0x00007f11d366bf90 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 #50 0x00007f11d366bf90 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 #51 0x00007f11d366bf90 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 #52 0x00007f11d366bf90 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 #53 0x00007f11d366bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f11d366bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f11d366bf90 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 #56 0x00007f11d363f21a 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:0 #57 0x00007f11d365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f11d365109a clang::ento::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 0x00007f11d394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f11d394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f11d394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f11d394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f11d394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f11d394e0a7 llvm::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 0x00007f11d394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f11d394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f11d3951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f11d3951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f11d3951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f11d3951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f11d3951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f11d1d0724a __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 0x00007f11d1d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f11d1d0724a void clang::finalize>, 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 0x00007f11d1d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f11d3444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f11d33f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f11d33f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f11d33f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f11d34948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000556b2dbc3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000556b2dbc770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000556b2dbc9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000556b2dbbd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f11ca03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f11ca03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000556b2dbbd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline3.c.script: line 1: 555902 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/inlining/InlineObjCClassMethod.m (813 of 19712) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCClassMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbf637d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbf637ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbf637d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbf62854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbf6c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbf6c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbf6c235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbf6c235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbf6c235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbf6c235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbf6c235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbf6c235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbf6bed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbf6bed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbf6bed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbf6bed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbf6bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbf6bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbf6bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbf6bed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbf6bed4e65 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 #21 0x00007fbf6bed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbf6bed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbf6bed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fbf6beb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbf6beb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbf6beb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fbf6bed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbf6bed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbf6bed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fbf6bee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbf6bee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbf6bee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbf6bee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbf6bee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbf6bee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbf6bee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbf6bee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbf6bee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbf6be3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbf6be3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbf6be3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbf6be3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbf6be3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fbf6be3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fbf6be3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fbf6be0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fbf6be0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fbf6be0953e 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 #49 0x00007fbf6be50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fbf6be50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fbf6be50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fbf6be5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fbf6be5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fbf6be5149e 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 #55 0x00007fbf6c14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fbf6c14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fbf6c14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fbf6c14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fbf6c14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fbf6c14e0a7 llvm::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 0x00007fbf6c14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fbf6c14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fbf6c151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fbf6c151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fbf6c151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fbf6c151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fbf6c151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fbf6a50724a __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 0x00007fbf6a50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fbf6a50724a void clang::finalize>, 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 0x00007fbf6a50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fbf6bc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fbf6bbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fbf6bbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fbf6bbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fbf6bc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055dc154a6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055dc154aa70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055dc154ac440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055dc154a0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fbf6283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fbf6283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055dc154a0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCClassMethod.m.script: line 1: 555915 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/initialization.cpp (814 of 19712) ******************** TEST 'Clang :: Analysis/initialization.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling definit() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp:14:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp:14:3: Error evaluating statement #0 0x00007f73383d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f73383ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f73383d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7337454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7340e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7340e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7340e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7340e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7340e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7340e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7340e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7340e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7340ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7340ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7340ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7340ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7340ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7340ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7340ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7340ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7340ad4e65 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 #21 0x00007f7340ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7340ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7340ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7340ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7340ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7340ad6cdb 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 #27 0x00007f7340ad64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7340ad64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7340ad64ad 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 #30 0x00007f7340ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7340ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7340ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7340ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7340ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7340ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7340ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7340ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7340ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7340a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7340a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7340a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7340a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7340f8e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7340f8e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7340f8e15d 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 #46 0x00007f7340f8e15d 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 #47 0x00007f7340b88a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f7340b88a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f7340b88a58 (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 #50 0x00007f7340baaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f7340baaac1 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:48 #52 0x00007f7340a3cd48 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 #53 0x00007f7340a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f7340a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f7340a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f7340a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f7340a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f7340a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f7340a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f7340a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f7340a7eb8e 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:695:0 #62 0x00007f7340a7f767 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:0 #63 0x00007f7340a9c6f1 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 0x00007f7340a9c6f1 clang::ento::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 0x00007f7340a9dc4e clang::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 0x00007f7340a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7340a3fac2 clang::ento::CoreEngine::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 0x00007f7340a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f7340a5109a clang::ento::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 0x00007f7340d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f7340d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f7340d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f7340d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f7340d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f7340d4e0a7 llvm::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 0x00007f7340d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f7340d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f7340d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f7340d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f7340d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f7340d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f7340d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f733f10724a __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 0x00007f733f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f733f10724a void clang::finalize>, 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 0x00007f733f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f7340844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f73407f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f73407f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f73407f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f73408948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000055b7c49a6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000055b7c49aa70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000055b7c49ac440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000055b7c49a0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f733743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f733743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x000055b7c49a0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/initialization.cpp.script: line 1: 555843 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCDynTypePopagation.m (815 of 19712) ******************** TEST 'Clang :: Analysis/inlining/ObjCDynTypePopagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f61ebdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f61ebdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f61ebdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f61eae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f61f4835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f61f4835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f61f4835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f61f4835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f61f4835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f61f4835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f61f4835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f61f4835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f61f44d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f61f44d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f61f44d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f61f44d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f61f44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f61f44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f61f44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f61f44d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f61f44d4e65 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 #21 0x00007f61f44d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f61f44d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f61f44d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f61f44b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f61f44b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f61f44b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f61f44d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f61f44d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f61f44d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f61f44e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f61f44e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f61f44e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f61f44e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f61f44e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f61f44e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f61f44e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f61f44e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f61f44e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f61f443da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f61f443da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f61f443da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f61f443da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f61f443df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f61f443df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f61f443df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f61f440953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f61f440953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f61f440953e 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 #49 0x00007f61f4450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f61f4450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f61f4450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f61f445149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f61f445149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f61f445149e 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 #55 0x00007f61f474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f61f474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f61f474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f61f474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f61f474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f61f474e0a7 llvm::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 0x00007f61f474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f61f474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f61f4751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f61f4751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f61f4751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f61f4751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f61f4751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f61f2b0724a __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 0x00007f61f2b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f61f2b0724a void clang::finalize>, 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 0x00007f61f2b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f61f4244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f61f41f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f61f41f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f61f41f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f61f42948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000560ba2a67a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000560ba2a6b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000560ba2a6d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000560ba2a61903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f61eae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f61eae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000560ba2a61945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCDynTypePopagation.m.script: line 1: 555932 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline-not-supported.c (816 of 19712) ******************** TEST 'Clang :: Analysis/inline-not-supported.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb35e3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb35e3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb35e3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb35d454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb366e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb366e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb366e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb366e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb366e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb366e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb366e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb366e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb366ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb366ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb366ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb366ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb366ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb366ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb366ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb366ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb366ad4e65 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 #21 0x00007fb366ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb366ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb366ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb366ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb366ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb366ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb366ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb366ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb366ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb366ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb366ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb366ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb366ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb366ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb366ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb366ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb366ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb366ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb366a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb366a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb366a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb366a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb366f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb366f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb366f86b68 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 #46 0x00007fb366b26796 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb366b26796 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 #48 0x00007fb366b26796 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x00007fb366b26796 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x00007fb366b26796 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:0 #51 0x00007fb366a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007fb366a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007fb366a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007fb366a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007fb366a2561d 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:26 #56 0x00007fb366a7eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007fb366a7eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007fb366a7eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007fb366a7eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007fb366a7eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007fb366a7eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007fb366a7eac9 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:0 #63 0x00007fb366a7f767 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:0 #64 0x00007fb366a9c6f1 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 #65 0x00007fb366a9c6f1 clang::ento::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 #66 0x00007fb366a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007fb366a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007fb366a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007fb366a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007fb366a5109a clang::ento::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 0x00007fb366d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007fb366d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007fb366d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007fb366d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007fb366d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007fb366d4e0a7 llvm::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 0x00007fb366d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007fb366d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007fb366d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007fb366d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007fb366d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007fb366d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007fb366d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007fb36510724a __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 0x00007fb36510724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007fb36510724a void clang::finalize>, 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 0x00007fb36510724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007fb366844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007fb3667f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007fb3667f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007fb3667f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007fb3668948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000055bb22f3da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000055bb22f4170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000055bb22f43440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000055bb22f37903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007fb35d43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007fb35d43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x000055bb22f37945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-not-supported.c.script: line 1: 555871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inlining/DynDispatchBifurcate.m (818 of 19712) ******************** TEST 'Clang :: Analysis/inlining/DynDispatchBifurcate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f48049d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f48049ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f48049d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4803a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f480d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f480d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f480d435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f480d435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f480d435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f480d435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f480d435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f480d435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f480d0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f480d0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f480d0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f480d0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f480d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f480d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f480d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f480d0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f480d0d4e65 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 #21 0x00007f480d0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f480d0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f480d0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f480d0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f480d0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f480d0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f480d0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f480d0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f480d0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f480d0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f480d0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f480d0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f480d0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f480d0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f480d0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f480d0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f480d0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f480d0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f480d03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f480d03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f480d03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f480d03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f480d586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f480d586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f480d586b68 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 #46 0x00007f480d09808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f480d09808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f480d09808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f480d09808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f480d09808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f480d09808c 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 #52 0x00007f480d09bfee 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 #53 0x00007f480d09bfee clang::ento::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 #54 0x00007f480d09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f480d09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f480d03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f480d05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f480d05109a clang::ento::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 0x00007f480d34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f480d34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f480d34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f480d34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f480d34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f480d34e0a7 llvm::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 0x00007f480d34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f480d34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f480d351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f480d351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f480d351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f480d351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f480d351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f480b70724a __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 0x00007f480b70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f480b70724a void clang::finalize>, 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 0x00007f480b70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f480ce44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f480cdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f480cdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f480cdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f480ce948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000562d7ff19a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000562d7ff1d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000562d7ff1f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000562d7ff13903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4803a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4803a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000562d7ff13945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/DynDispatchBifurcate.m.script: line 1: 555913 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ObjCImproperDynamictallyDetectableCast.m (820 of 19712) ******************** TEST 'Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f883b7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f883b7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f883b7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f883a854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8844235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8844235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8844235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8844235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8844235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8844235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8844235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8844235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8843ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8843ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8843ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8843ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8843ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8843ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8843ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8843ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8843ed4e65 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 #21 0x00007f8843ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8843ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8843ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8843eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8843eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8843eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8843ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8843ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8843ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8843ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8843ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8843ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8843ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8843ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8843ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8843ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8843ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8843ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8843e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8843e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8843e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8843e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8843e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f8843e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f8843e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f8843e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f8843e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f8843e0953e 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 #49 0x00007f8843e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f8843e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f8843e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f8843e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f8843e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f8843e5149e 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 #55 0x00007f884414c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f884414c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f884414c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f884414c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f884414c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f884414e0a7 llvm::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 0x00007f884414e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f884414e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f8844151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f8844151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f8844151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f8844151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f8844151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f884250724a __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 0x00007f884250724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f884250724a void clang::finalize>, 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 0x00007f884250724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f8843c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f8843bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f8843bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f8843bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f8843c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005631f9507a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005631f950b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005631f950d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005631f9501903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f883a83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f883a83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005631f9501945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCImproperDynamictallyDetectableCast.m.script: line 1: 555941 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (823 of 19712) ******************** TEST 'Clang :: Analysis/inlining/RetainCountExamples.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f30539d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f30539ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f30539d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3052a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f305c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f305c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f305c435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f305c435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f305c435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f305c435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f305c435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f305c435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f305c0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f305c0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f305c0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f305c0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f305c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f305c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f305c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f305c0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f305c0d4e65 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 #21 0x00007f305c0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f305c0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f305c0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f305c0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f305c0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f305c0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f305c0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f305c0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f305c0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f305c0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f305c0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f305c0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f305c0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f305c0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f305c0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f305c0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f305c0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f305c0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f305c03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f305c03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f305c03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f305c03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f305c03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f305c03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f305c03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f305c00953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f305c00953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f305c00953e 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 #49 0x00007f305c050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f305c050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f305c050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f305c05149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f305c05149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f305c05149e 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 #55 0x00007f305c34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f305c34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f305c34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f305c34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f305c34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f305c34e0a7 llvm::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 0x00007f305c34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f305c34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f305c351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f305c351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f305c351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f305c351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f305c351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f305a70724a __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 0x00007f305a70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f305a70724a void clang::finalize>, 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 0x00007f305a70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f305be44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f305bdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f305bdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f305bdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f305be948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005609140d3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005609140d770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005609140d9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005609140cd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f3052a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f3052a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005609140cd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/RetainCountExamples.m.script: line 1: 555948 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/containers.cpp (824 of 19712) ******************** TEST 'Clang :: Analysis/inlining/containers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f95af9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f95af9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f95af9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f95aea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f95b806efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f95b806efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f95b806efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f95b806efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f95b806efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f95b806efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f95b806efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f95b806efd6 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 0x00007f95b809db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f95b809df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f95b803fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f95b805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f95b805109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f95b834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f95b834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f95b834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f95b834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f95b834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f95b834e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f95b834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f95b834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f95b8351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f95b8351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f95b8351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f95b8351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f95b8351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f95b670724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f95b670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f95b670724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f95b670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f95b7e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f95b7df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f95b7df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f95b7df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f95b7e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000055839066ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000055839067070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x0000558390672440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x0000558390666903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f95aea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f95aea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x0000558390666945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/containers.cpp.script: line 4: 555976 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/assume-super-init-does-not-return-nil.m (826 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f617ddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f617ddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f617ddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f617ce54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6186835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6186835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6186835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6186835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6186835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6186835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6186835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6186835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f61864d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f61864d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f61864d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f61864d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f61864d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f61864d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f61864d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f61864d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f61864d4e65 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 #21 0x00007f61864d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f61864d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f61864d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f61864b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f61864b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f61864b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f61864d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f61864d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f61864d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f61864e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f61864e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f61864e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f61864e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f61864e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f61864e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f61864e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f61864e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f61864e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f618643da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f618643da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f618643da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f618643da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f618643df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f618643df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f618643df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f618640953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f618640953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f618640953e 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 #49 0x00007f6186450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f6186450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f6186450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f618645149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f618645149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f618645149e 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 #55 0x00007f618674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f618674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f618674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f618674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f618674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f618674e0a7 llvm::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 0x00007f618674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f618674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f6186751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f6186751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f6186751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f6186751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f6186751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f6184b0724a __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 0x00007f6184b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f6184b0724a void clang::finalize>, 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 0x00007f6184b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f6186244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f61861f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f61861f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f61861f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f61862948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055f4fe9d3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055f4fe9d770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055f4fe9d9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055f4fe9cd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f617ce3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f617ce3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055f4fe9cd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/assume-super-init-does-not-return-nil.m.script: line 1: 555963 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/false-positive-suppression.cpp (828 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f366c1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f366c1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f366c1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f366b254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3674872b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f3674872b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3674872b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3674872b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f3674872b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f3674872b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f3674872b29 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:89 #11 0x00007f3674872e8c 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 #12 0x00007f3674872e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f3674872e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f3674872e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f3674872e8c 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:53 #16 0x00007f36748731e0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f36748731e0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f36748731e0 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:63 #19 0x00007f367489a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007f367489a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f367489a404 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 #22 0x00007f367489a404 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 #23 0x00007f367489c69e 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 0x00007f367489c69e clang::ento::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 #25 0x00007f367489dc4e clang::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 0x00007f367489df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f367483fac2 clang::ento::CoreEngine::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 0x00007f367485109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x00007f367485109a clang::ento::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 0x00007f3674b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3674b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3674b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x00007f3674b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x00007f3674b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x00007f3674b4e0a7 llvm::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 0x00007f3674b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x00007f3674b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x00007f3674b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x00007f3674b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x00007f3674b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x00007f3674b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x00007f3674b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x00007f3672f0724a __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 0x00007f3672f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x00007f3672f0724a void clang::finalize>, 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 0x00007f3672f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x00007f3674644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #48 0x00007f36745f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #49 0x00007f36745f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #50 0x00007f36745f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #51 0x00007f36746948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #52 0x000055e11f8b8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x000055e11f8bc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x000055e11f8be440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x000055e11f8b2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x00007f366b23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #57 0x00007f366b23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #58 0x000055e11f8b2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.cpp.script: line 2: 556018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/dyn-dispatch-bifurcate.cpp (829 of 19712) ******************** TEST 'Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2202dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2202dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2202dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2201e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f220b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f220b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f220b835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f220b835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f220b835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f220b835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f220b835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f220b835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f220b4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f220b4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f220b4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f220b4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f220b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f220b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f220b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f220b4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f220b4d4e65 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 #21 0x00007f220b4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f220b4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f220b4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f220b4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f220b4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f220b4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f220b4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f220b4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f220b4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f220b4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f220b4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f220b4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f220b4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f220b4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f220b4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f220b4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f220b4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f220b4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f220b43da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f220b43da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f220b43da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f220b43da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f220b986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f220b986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f220b986b68 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 #46 0x00007f220b46bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f220b46bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f220b46bf90 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 #49 0x00007f220b46bf90 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 #50 0x00007f220b46bf90 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 #51 0x00007f220b46bf90 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 #52 0x00007f220b46bf90 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 #53 0x00007f220b46bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f220b46bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f220b46bf90 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 #56 0x00007f220b43f21a 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:0 #57 0x00007f220b45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f220b45109a clang::ento::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 0x00007f220b74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f220b74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f220b74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f220b74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f220b74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f220b74e0a7 llvm::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 0x00007f220b74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f220b74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f220b751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f220b751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f220b751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f220b751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f220b751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f2209b0724a __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 0x00007f2209b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f2209b0724a void clang::finalize>, 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 0x00007f2209b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f220b244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f220b1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f220b1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f220b1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f220b2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055572f720a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055572f72470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055572f726440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055572f71a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f2201e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f2201e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055572f71a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/dyn-dispatch-bifurcate.cpp.script: line 1: 555977 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline-defensive-checks.cpp (832 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f5a86dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5a86dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5a86dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5a85e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5a8f472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f5a8f472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5a8f472b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5a8f472b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f5a8f472b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f5a8f472b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f5a8f472b29 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:89 #11 0x00007f5a8f472e8c 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 #12 0x00007f5a8f472e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f5a8f472e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f5a8f472e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f5a8f472e8c 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:53 #16 0x00007f5a8f4732e6 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 #17 0x00007f5a8f4732e6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #18 0x00007f5a8f4732e6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f5a8f4732e6 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:68 #20 0x00007f5a8f49a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x00007f5a8f49a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x00007f5a8f49a404 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 0x00007f5a8f49a404 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 0x00007f5a8f49c69e 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 0x00007f5a8f49c69e clang::ento::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 0x00007f5a8f49dc4e clang::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 0x00007f5a8f49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5a8f43fac2 clang::ento::CoreEngine::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 0x00007f5a8f45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f5a8f45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f5a8f74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f5a8f74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f5a8f74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f5a8f74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f5a8f74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f5a8f74e0a7 llvm::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 0x00007f5a8f74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f5a8f74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f5a8f751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f5a8f751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f5a8f751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f5a8f751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f5a8f751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f5a8db0724a __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 0x00007f5a8db0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f5a8db0724a void clang::finalize>, 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 0x00007f5a8db0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f5a8f244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f5a8f1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f5a8f1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f5a8f1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f5a8f2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000055b904946a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000055b90494a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000055b90494c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000055b904940903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f5a85e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f5a85e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x000055b904940945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.cpp.script: line 1: 556044 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/false-positive-suppression.m (833 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5d74bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5d74bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5d74bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5d73c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5d7d635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5d7d635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5d7d635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5d7d635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5d7d635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5d7d635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5d7d635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5d7d635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5d7d2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5d7d2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5d7d2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5d7d2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5d7d2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5d7d2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5d7d2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5d7d2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5d7d2d4e65 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 #21 0x00007f5d7d2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5d7d2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5d7d2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5d7d2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5d7d2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5d7d2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5d7d2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5d7d2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5d7d2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5d7d2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5d7d2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5d7d2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5d7d2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5d7d2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5d7d2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5d7d2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5d7d2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5d7d2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5d7d23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5d7d23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5d7d23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5d7d23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5d7d786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5d7d786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5d7d786b68 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 #46 0x00007f5d7d29808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f5d7d29808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f5d7d29808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f5d7d29808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f5d7d29808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f5d7d29808c 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 #52 0x00007f5d7d29bfee 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 #53 0x00007f5d7d29bfee clang::ento::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 #54 0x00007f5d7d29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f5d7d29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f5d7d23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f5d7d25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f5d7d25109a clang::ento::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 0x00007f5d7d54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f5d7d54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f5d7d54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f5d7d54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f5d7d54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f5d7d54e0a7 llvm::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 0x00007f5d7d54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f5d7d54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5d7d551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5d7d551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5d7d551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5d7d551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5d7d551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f5d7b90724a __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 0x00007f5d7b90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f5d7b90724a void clang::finalize>, 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 0x00007f5d7b90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5d7d044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f5d7cff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f5d7cff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f5d7cff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f5d7d0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055b776941a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055b77694570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055b776947440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055b77693b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f5d73c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f5d73c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055b77693b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.m.script: line 4: 556026 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/false-positive-suppression.c (834 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f693c9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f693c9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f693c9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f693ba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6945435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6945435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6945435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6945435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6945435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6945435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6945435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6945435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f69450d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f69450d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f69450d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f69450d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f69450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f69450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f69450d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f69450d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f69450d4e65 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 #21 0x00007f69450d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f69450d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f69450d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f69450b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f69450b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f69450b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f69450d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f69450d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f69450d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f69450e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f69450e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f69450e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f69450e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f69450e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f69450e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f69450e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f69450e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f69450e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f694503da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f694503da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f694503da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f694503da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6945586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6945586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6945586b68 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 #46 0x00007f694517f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f694517f794 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:0 #48 0x00007f694517f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f694517f794 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:0 #50 0x00007f694501b7ad 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:5 #51 0x00007f6945068471 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 #52 0x00007f6945068471 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 #53 0x00007f6945069840 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 #54 0x00007f6945069840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f6945069840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f6945069840 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 #57 0x00007f6945077a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f6945077a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f6945077a6a 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:15 #60 0x00007f694509bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f694509bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f694509bf62 clang::ento::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 #63 0x00007f694509dc4e clang::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 0x00007f694509df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f694503fac2 clang::ento::CoreEngine::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 0x00007f694505109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f694505109a clang::ento::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 0x00007f694534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f694534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f694534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f694534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f694534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f694534e0a7 llvm::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 0x00007f694534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f694534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f6945351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f6945351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f6945351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f6945351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f6945351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f694370724a __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 0x00007f694370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f694370724a void clang::finalize>, 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 0x00007f694370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f6944e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f6944df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f6944df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f6944df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f6944e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055ba0f1d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055ba0f1d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055ba0f1d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055ba0f1ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f693ba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f693ba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055ba0f1ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.c.script: line 3: 556016 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline-defensive-checks.m (835 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f89d9fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f89d9fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f89d9fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f89d9054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f89e2a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f89e2a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f89e2a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f89e2a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f89e2a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f89e2a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f89e2a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f89e2a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f89e26d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f89e26d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f89e26d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f89e26d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f89e26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f89e26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f89e26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f89e26d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f89e26d4e65 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 #21 0x00007f89e26d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f89e26d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f89e26d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f89e26b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f89e26b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f89e26b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f89e26d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f89e26d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f89e26d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f89e26e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f89e26e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f89e26e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f89e26e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f89e26e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f89e26e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f89e26e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f89e26e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f89e26e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f89e263da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f89e263da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f89e263da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f89e263da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f89e2b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f89e2b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f89e2b86b68 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 #46 0x00007f89e266bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f89e266bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f89e266bf90 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 #49 0x00007f89e266bf90 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 #50 0x00007f89e266bf90 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 #51 0x00007f89e266bf90 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 #52 0x00007f89e266bf90 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 #53 0x00007f89e266bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f89e266bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f89e266bf90 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 #56 0x00007f89e263f21a 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:0 #57 0x00007f89e265109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f89e265109a clang::ento::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 0x00007f89e294c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f89e294c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f89e294c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f89e294c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f89e294c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f89e294e0a7 llvm::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 0x00007f89e294e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f89e294e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f89e2951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f89e2951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f89e2951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f89e2951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f89e2951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f89e0d0724a __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 0x00007f89e0d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f89e0d0724a void clang::finalize>, 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 0x00007f89e0d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f89e2444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f89e23f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f89e23f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f89e23f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f89e24948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a5edb55a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a5edb5970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a5edb5b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a5edb4f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f89d903ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f89d903f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a5edb4f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.m.script: line 1: 556045 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inline-defensive-checks.c (836 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ffa227d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ffa227ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ffa227d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ffa21854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffa2b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ffa2b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ffa2b235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ffa2b235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ffa2b235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ffa2b235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ffa2b235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ffa2b235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ffa2aed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ffa2aed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ffa2aed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ffa2aed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ffa2aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ffa2aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ffa2aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ffa2aed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ffa2aed4e65 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 #21 0x00007ffa2aed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ffa2aed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ffa2aed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ffa2aed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ffa2aed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ffa2aed6cdb 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 #27 0x00007ffa2aed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ffa2aed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ffa2aed64ad 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 #30 0x00007ffa2aee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ffa2aee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ffa2aee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ffa2aee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ffa2aee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ffa2aee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ffa2aee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ffa2aee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ffa2aee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ffa2ae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ffa2ae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ffa2ae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ffa2ae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ffa2b386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007ffa2b386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007ffa2b386b68 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 #46 0x00007ffa2ae6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007ffa2ae6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007ffa2ae6bf90 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 #49 0x00007ffa2ae6bf90 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 #50 0x00007ffa2ae6bf90 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 #51 0x00007ffa2ae6bf90 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 #52 0x00007ffa2ae6bf90 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 #53 0x00007ffa2ae6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007ffa2ae6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007ffa2ae6bf90 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 #56 0x00007ffa2ae3f21a 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:0 #57 0x00007ffa2ae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007ffa2ae5109a clang::ento::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 0x00007ffa2b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007ffa2b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007ffa2b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007ffa2b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007ffa2b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007ffa2b14e0a7 llvm::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 0x00007ffa2b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007ffa2b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007ffa2b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007ffa2b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007ffa2b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007ffa2b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007ffa2b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007ffa2950724a __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 0x00007ffa2950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007ffa2950724a void clang::finalize>, 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 0x00007ffa2950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007ffa2ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007ffa2abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007ffa2abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007ffa2abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007ffa2ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055fd0b592a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055fd0b59670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055fd0b598440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055fd0b58c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007ffa2183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007ffa2183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055fd0b58c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.c.script: line 1: 556047 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/path-notes.m (837 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f6b657d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6b657ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6b657d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6b64854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6b6de454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6b6de454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6b6de454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6b6de454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6b6de454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6b6de454e6 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 0x00007f6b6de454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6b6de454e6 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:0 #12 0x00007f6b6e2218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f6b6e2218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f6b6e2218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007f6b6e2218a5 (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 0x00007f6b6de1bfa7 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 0x00007f6b6de6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f6b6de6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f6b6de6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f6b6de6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f6b6de6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f6b6de6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f6b6de6f23c 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 0x00007f6b6de9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007f6b6de9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007f6b6de3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007f6b6de5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007f6b6de5109a clang::ento::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 0x00007f6b6e14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f6b6e14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f6b6e14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007f6b6e14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007f6b6e14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007f6b6e14e0a7 llvm::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 0x00007f6b6e14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007f6b6e14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007f6b6e151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007f6b6e151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007f6b6e151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007f6b6e151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007f6b6e151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007f6b6c50724a __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 0x00007f6b6c50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007f6b6c50724a void clang::finalize>, 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 0x00007f6b6c50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007f6b6dc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007f6b6dbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007f6b6dbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007f6b6dbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007f6b6dc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000055fbe25d5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000055fbe25d970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000055fbe25db440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000055fbe25cf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007f6b6483ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007f6b6483f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x000055fbe25cf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.script: line 3: 556076 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/retain-count-self-init.m (839 of 19712) ******************** TEST 'Clang :: Analysis/inlining/retain-count-self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fdbf97d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fdbf97ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fdbf97d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fdc02f17ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fdc02235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fdc02235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fdc02235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fdc02235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fdc02235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fdc02235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fdc02235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fdc02235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fdc01ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fdc01ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fdc01ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fdc01ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fdc01ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fdc01ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fdc01ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fdc01ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fdc01ed4e65 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 #21 0x00007fdc01ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fdc01ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fdc01ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fdc01eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fdc01eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fdc01eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fdc01ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fdc01ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fdc01ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fdc01ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fdc01ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fdc01ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fdc01ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fdc01ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fdc01ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fdc01ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fdc01ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fdc01ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fdc01e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fdc01e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fdc01e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fdc01e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fdc01e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fdc01e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fdc01e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fdc01e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fdc01e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fdc01e0953e 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 #49 0x00007fdc01e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fdc01e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fdc01e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fdc01e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fdc01e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fdc01e5149e 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 #55 0x00007fdc0214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fdc0214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fdc0214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fdc0214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fdc0214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fdc0214e0a7 llvm::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 0x00007fdc0214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fdc0214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fdc02151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fdc02151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fdc02151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fdc02151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fdc02151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fdc0050724a __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 0x00007fdc0050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fdc0050724a void clang::finalize>, 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 0x00007fdc0050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fdc01c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fdc01bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fdc01bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fdc01bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fdc01c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000559cc33cca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000559cc33d070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000559cc33d2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000559cc33c6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fdc02f01f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fdc02f02009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000559cc33c6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/retain-count-self-init.m.script: line 1: 556087 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/path-notes.c (841 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f008cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f008cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f008cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f008be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0095835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0095835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0095835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0095835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0095835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0095835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0095835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0095835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f00954d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f00954d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f00954d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f00954d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f00954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f00954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f00954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f00954d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f00954d4e65 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 #21 0x00007f00954d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f00954d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f00954d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f00954b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f00954b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f00954b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f00954d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f00954d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f00954d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f00954e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f00954e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f00954e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f00954e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f00954e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f00954e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f00954e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f00954e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f00954e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f009543da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f009543da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f009543da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f009543da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0095986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f0095986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f0095986b68 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 #46 0x00007f009557f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f009557f794 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:0 #48 0x00007f009557f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f009557f794 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:0 #50 0x00007f009541b7ad 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:5 #51 0x00007f0095468471 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 #52 0x00007f0095468471 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 #53 0x00007f0095469840 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 #54 0x00007f0095469840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f0095469840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f0095469840 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 #57 0x00007f0095477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f0095477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f0095477a6a 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:15 #60 0x00007f009549bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f009549bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f009549bf62 clang::ento::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 #63 0x00007f009549dc4e clang::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 0x00007f009549df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f009543fac2 clang::ento::CoreEngine::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 0x00007f009545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f009545109a clang::ento::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 0x00007f009574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f009574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f009574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f009574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f009574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f009574e0a7 llvm::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 0x00007f009574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f009574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f0095751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f0095751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f0095751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f0095751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f0095751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f0093b0724a __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 0x00007f0093b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f0093b0724a void clang::finalize>, 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 0x00007f0093b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f0095244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f00951f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f00951f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f00951f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f00952948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x0000557ddc2daa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000557ddc2de70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000557ddc2e0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000557ddc2d4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f008be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f008be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x0000557ddc2d4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.script: line 3: 556063 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (842 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f7a76bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7a76bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7a76bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7a75c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7a7f635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7a7f635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7a7f635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7a7f635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7a7f635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7a7f635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7a7f635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7a7f635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7a7f2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7a7f2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7a7f2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7a7f2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7a7f2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7a7f2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7a7f2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7a7f2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7a7f2d4e65 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 #21 0x00007f7a7f2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7a7f2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7a7f2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7a7f2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7a7f2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7a7f2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7a7f2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7a7f2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7a7f2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7a7f2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7a7f2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7a7f2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7a7f2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7a7f2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7a7f2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7a7f2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7a7f2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7a7f2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7a7f23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7a7f23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7a7f23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7a7f23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7a7f786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7a7f786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7a7f786b68 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 #46 0x00007f7a7f3260fb llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f7a7f3260fb 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 #48 0x00007f7a7f3260fb checkCXXMethodCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:460:0 #49 0x00007f7a7f3260fb checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:558:0 #50 0x00007f7a7f3260fb 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:0 #51 0x00007f7a7f22561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007f7a7f22561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007f7a7f22561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007f7a7f22561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007f7a7f22561d 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:26 #56 0x00007f7a7f2942ab llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007f7a7f2942ab llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007f7a7f2942ab llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007f7a7f2942ab llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007f7a7f2942ab llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007f7a7f2942ab clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007f7a7f2942ab 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 #63 0x00007f7a7f29544f clang::ento::NodeBuilder::~NodeBuilder() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #64 0x00007f7a7f29544f 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 #65 0x00007f7a7f296b75 clang::ento::ExprEngine::ProcessImplicitDtor(clang::CFGImplicitDtor, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1300:0 #66 0x00007f7a7f29df1d clang::ento::ExprEngine::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 #67 0x00007f7a7f23fac2 clang::ento::CoreEngine::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 0x00007f7a7f25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f7a7f25109a clang::ento::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 0x00007f7a7f54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f7a7f54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f7a7f54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f7a7f54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f7a7f54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f7a7f54e0a7 llvm::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 0x00007f7a7f54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f7a7f54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f7a7f551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f7a7f551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f7a7f551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f7a7f551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f7a7f551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f7a7d90724a __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 0x00007f7a7d90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f7a7d90724a void clang::finalize>, 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 0x00007f7a7d90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f7a7f044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f7a7eff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f7a7eff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f7a7eff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f7a7f0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000056044ff21a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000056044ff2570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000056044ff27440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000056044ff1b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f7a75c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f7a75c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x000056044ff1b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.script: line 3: 556064 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/temp-dtors-path-notes.cpp (843 of 19712) ******************** TEST 'Clang :: Analysis/inlining/temp-dtors-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0c80bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0c80bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0c80bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0c7fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0c8926efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f0c8926efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f0c8926efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f0c8926efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f0c8926efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f0c8926efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f0c8926efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f0c8926efd6 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 0x00007f0c8929db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f0c8929df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f0c8923f9ea 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 #15 0x00007f0c8923fb9e 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:223:0 #16 0x00007f0c8925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f0c8925109a clang::ento::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 0x00007f0c8954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f0c8954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f0c8954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f0c8954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f0c8954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f0c8954e0a7 llvm::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 0x00007f0c8954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f0c8954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f0c89551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f0c89551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f0c89551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f0c89551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f0c89551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f0c8790724a __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 0x00007f0c8790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f0c8790724a void clang::finalize>, 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 0x00007f0c8790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f0c89044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f0c88ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f0c88ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f0c88ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f0c890948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055d7054baa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055d7054be70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055d7054c0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055d7054b4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f0c7fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f0c7fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055d7054b4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/temp-dtors-path-notes.cpp.script: line 1: 556112 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inlining/placement-new-fp-suppression.cpp (844 of 19712) ******************** TEST 'Clang :: Analysis/inlining/placement-new-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f61199d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f61199ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f61199d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6118a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6122435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6122435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6122435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6122435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6122435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6122435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6122435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6122435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f61220d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f61220d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f61220d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f61220d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f61220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f61220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f61220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f61220d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f61220d4e65 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 #21 0x00007f61220d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f61220d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f61220d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f61220b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f61220b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f61220b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f61220d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f61220d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f61220d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f61220e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f61220e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f61220e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f61220e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f61220e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f61220e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f61220e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f61220e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f61220e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f612203da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f612203da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f612203da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f612203da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6122586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6122586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6122586b68 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 #46 0x00007f6122069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f6122069db3 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 #48 0x00007f6122069db3 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 #49 0x00007f612209d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f612209d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f612209d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f612209d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f612209d93e clang::ento::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 #54 0x00007f612209dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f612209df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f612203fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f612205109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f612205109a clang::ento::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 0x00007f612234c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f612234c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f612234c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f612234c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f612234c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f612234e0a7 llvm::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 0x00007f612234e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f612234e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f6122351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f6122351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f6122351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f6122351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f6122351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f612070724a __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 0x00007f612070724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f612070724a void clang::finalize>, 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 0x00007f612070724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6121e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f6121df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f6121df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f6121df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f6121e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055cbdf2bfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055cbdf2c370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055cbdf2c5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055cbdf2b9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6118a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6118a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055cbdf2b9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/placement-new-fp-suppression.cpp.script: line 2: 556079 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/inner-pointer.cpp (847 of 19712) ******************** TEST 'Clang :: Analysis/inner-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007febc81d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007febc81ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007febc81d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007febc7254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007febd087d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007febd087d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007febd087d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007febd087d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007febd087d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007febd087d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007febd087d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007febd087d99e 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 0x00007febd083ed11 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 0x00007febd083fc1e 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 0x00007febd085109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007febd085109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007febd0b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007febd0b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007febd0b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007febd0b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007febd0b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007febd0b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007febd0b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007febd0b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007febd0b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007febd0b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007febd0b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007febd0b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007febd0b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007febcef0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007febcef0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007febcef0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007febcef0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007febd0644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007febd05f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007febd05f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007febd05f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007febd06948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000560784f8aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000560784f8e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000560784f90440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000560784f84903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007febc723ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007febc723f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000560784f84945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/inner-pointer.cpp.script: line 1: 556138 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stl.cpp (848 of 19712) ******************** TEST 'Clang :: Analysis/inlining/stl.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa4751d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa4751ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa4751d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa47e921ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa47dc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa47dc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa47dc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa47dc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa47dc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa47dc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa47dc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa47dc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa47d8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa47d8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa47d8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa47d8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa47d8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa47d8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa47d8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa47d8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa47d8d4e65 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 #21 0x00007fa47d8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa47d8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa47d8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa47d8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa47d8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa47d8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa47d8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa47d8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa47d8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa47d8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa47d8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa47d8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa47d8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa47d8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa47d8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa47d8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa47d8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa47d8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa47d83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa47d83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa47d83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa47d83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa47dd8e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa47dd8e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa47dd8e15d 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 #46 0x00007fa47dd8e15d 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 #47 0x00007fa47d988a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007fa47d988a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007fa47d988a58 (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 #50 0x00007fa47d9aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007fa47d9aaac1 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:48 #52 0x00007fa47d83cd48 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 #53 0x00007fa47d87eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007fa47d87eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007fa47d87eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007fa47d87eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007fa47d87eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007fa47d87eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007fa47d87eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007fa47d87eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007fa47d87eb8e 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:695:0 #62 0x00007fa47d87f767 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:0 #63 0x00007fa47d89c6f1 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 0x00007fa47d89c6f1 clang::ento::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 0x00007fa47d89dc4e clang::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 0x00007fa47d89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa47d83fac2 clang::ento::CoreEngine::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 0x00007fa47d85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007fa47d85109a clang::ento::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 0x00007fa47db4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007fa47db4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007fa47db4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007fa47db4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007fa47db4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007fa47db4e0a7 llvm::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 0x00007fa47db4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007fa47db4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007fa47db51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007fa47db51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007fa47db51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007fa47db51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007fa47db51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007fa47bf0724a __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 0x00007fa47bf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007fa47bf0724a void clang::finalize>, 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 0x00007fa47bf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007fa47d644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007fa47d5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007fa47d5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007fa47d5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007fa47d6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000055e1a18bda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000055e1a18c170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000055e1a18c3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000055e1a18b7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007fa47e90bf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007fa47e90c009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x000055e1a18b7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/stl.cpp.script: line 2: 556096 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/test_objc_inlining_option.m (849 of 19712) ******************** TEST 'Clang :: Analysis/inlining/test_objc_inlining_option.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4a221d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4a221ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4a221d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4a21254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4a2ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4a2ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4a2ac35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4a2ac35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4a2ac35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4a2ac35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4a2ac35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4a2ac35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4a2a8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4a2a8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4a2a8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4a2a8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4a2a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4a2a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4a2a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4a2a8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4a2a8d4e65 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 #21 0x00007f4a2a8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4a2a8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4a2a8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4a2a8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4a2a8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4a2a8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4a2a8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4a2a8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4a2a8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4a2a8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4a2a8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4a2a8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4a2a8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4a2a8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4a2a8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4a2a8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4a2a8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4a2a8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4a2a83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4a2a83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4a2a83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4a2a83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4a2a83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4a2a83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4a2a83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4a2a80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4a2a80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4a2a80953e 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 #49 0x00007f4a2a850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f4a2a850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f4a2a850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f4a2a85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f4a2a85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4a2a85149e 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 #55 0x00007f4a2ab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4a2ab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4a2ab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4a2ab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4a2ab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4a2ab4e0a7 llvm::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 0x00007f4a2ab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4a2ab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4a2ab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4a2ab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4a2ab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4a2ab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4a2ab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f4a28f0724a __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 0x00007f4a28f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f4a28f0724a void clang::finalize>, 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 0x00007f4a28f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4a2a644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f4a2a5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f4a2a5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f4a2a5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4a2a6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000558b7f32fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000558b7f33370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000558b7f335440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000558b7f329903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f4a2123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f4a2123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000558b7f329945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/test_objc_inlining_option.m.script: line 1: 556122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (850 of 19712) ******************** TEST 'Clang :: Analysis/issue-55019.cpp' FAILED ******************** Script: -- : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd9351d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd9351ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd9351d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd93e917ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd93d87d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd93d87d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd93d87d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd93d87d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fd93d87d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fd93d87d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fd93d87d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fd93d87d99e 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 0x00007fd93d83ed11 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 0x00007fd93d83fc1e 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 0x00007fd93d85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007fd93d85109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007fd93db4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007fd93db4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007fd93db4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007fd93db4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007fd93db4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007fd93db4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007fd93db4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007fd93db4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007fd93db51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007fd93db51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007fd93db51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007fd93db51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007fd93db51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007fd93bf0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007fd93bf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007fd93bf0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007fd93bf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007fd93d644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007fd93d5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007fd93d5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007fd93d5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007fd93d6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055b51cf31a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055b51cf3570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055b51cf37440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055b51cf2b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007fd93e901f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007fd93e902009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055b51cf2b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/issue-55019.cpp.script: line 1: 556243 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lambdas.mm (851 of 19712) ******************** TEST 'Clang :: Analysis/lambdas.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa566bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa566bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa566bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa565c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa56f26f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fa56f26f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa56f26f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa56f26f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa56f26f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa56f26f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa56f26f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fa56f26f83e 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 0x00007fa56f2725b9 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 0x00007fa56f2725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007fa56f2725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007fa56f2725b9 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 #16 0x00007fa56f2727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007fa56f2727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007fa56f2727ab 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 #19 0x00007fa56f299d0e 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 #20 0x00007fa56f29c69e 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 #21 0x00007fa56f29c69e clang::ento::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 #22 0x00007fa56f29dc4e clang::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 0x00007fa56f29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa56f23fac2 clang::ento::CoreEngine::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 0x00007fa56f25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007fa56f25109a clang::ento::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 0x00007fa56f54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007fa56f54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007fa56f54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007fa56f54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007fa56f54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007fa56f54e0a7 llvm::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 0x00007fa56f54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007fa56f54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007fa56f551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007fa56f551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007fa56f551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007fa56f551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007fa56f551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007fa56d90724a __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 0x00007fa56d90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007fa56d90724a void clang::finalize>, 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 0x00007fa56d90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007fa56f044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007fa56eff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007fa56eff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007fa56eff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007fa56f0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x0000561710620a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000056171062470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000561710626440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000056171061a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007fa565c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007fa565c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x000056171061a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.mm.script: line 1: 556335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/invalidated-iterator.cpp (852 of 19712) ******************** TEST 'Clang :: Analysis/invalidated-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5eaffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5eaffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5eaffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5eaf054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5eb8793207 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f5eb8793207 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5eb8793207 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5eb8793207 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f5eb8793207 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f5eb8793207 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 0x00007f5eb8793207 clang::ento::ProgramStateTrait::lookup_type clang::ento::ProgramState::get(clang::ento::ProgramStateTrait::key_type) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f5eb8793207 clang::ento::iterator::getContainerData(llvm::IntrusiveRefCntPtr, clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:181:34 #12 0x00007f5eb87580b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f5eb87580b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f5eb87580b9 getContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:823:42 #15 0x00007f5eb87580b9 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:260:33 #16 0x00007f5eb87580b9 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #17 0x00007f5eb87580b9 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:46 #18 0x00007f5eb862561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #19 0x00007f5eb862561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x00007f5eb862561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #21 0x00007f5eb862561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #22 0x00007f5eb862561d 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:26 #23 0x00007f5eb867ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x00007f5eb867ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x00007f5eb867ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x00007f5eb867ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x00007f5eb867ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x00007f5eb867ecbc 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:0 #29 0x00007f5eb867f767 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:0 #30 0x00007f5eb869c6f1 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 0x00007f5eb869c6f1 clang::ento::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 #32 0x00007f5eb869dc4e clang::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 0x00007f5eb869df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5eb863fac2 clang::ento::CoreEngine::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 0x00007f5eb865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x00007f5eb865109a clang::ento::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 0x00007f5eb894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x00007f5eb894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x00007f5eb894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x00007f5eb894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x00007f5eb894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x00007f5eb894e0a7 llvm::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 0x00007f5eb894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x00007f5eb894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x00007f5eb8951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x00007f5eb8951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x00007f5eb8951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x00007f5eb8951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x00007f5eb8951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x00007f5eb6d0724a __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 0x00007f5eb6d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x00007f5eb6d0724a void clang::finalize>, 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 0x00007f5eb6d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x00007f5eb8444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x00007f5eb83f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x00007f5eb83f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x00007f5eb83f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x00007f5eb84948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x00005613cb213a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x00005613cb21770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x00005613cb219440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x00005613cb20d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x00007f5eaf03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #64 0x00007f5eaf03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #65 0x00005613cb20d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/invalidated-iterator.cpp.script: line 2: 556232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/keychainAPI-diagnostic-visitor.m (853 of 19712) ******************** TEST 'Clang :: Analysis/keychainAPI-diagnostic-visitor.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc8ba9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc8ba9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc8ba9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc8b9a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc8c32105be retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fc8c32105be retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc8c32105be retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc8c32105be IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fc8c32105be ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fc8c32105be MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fc8c32105be get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fc8c32105be (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:0 #12 0x00007fc8c301bfa7 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 0x00007fc8c306f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007fc8c306f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007fc8c306f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007fc8c306f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007fc8c306f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007fc8c306f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007fc8c306f23c 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 0x00007fc8c309db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007fc8c309df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc8c303fac2 clang::ento::CoreEngine::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 0x00007fc8c305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007fc8c305109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007fc8c334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007fc8c334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007fc8c334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007fc8c334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007fc8c334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007fc8c334e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007fc8c334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007fc8c334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007fc8c3351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007fc8c3351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007fc8c3351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007fc8c3351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007fc8c3351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007fc8c170724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007fc8c170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007fc8c170724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007fc8c170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007fc8c2e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007fc8c2df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007fc8c2df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007fc8c2df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007fc8c2e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x00005641e5c0ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x00005641e5c1070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x00005641e5c12440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x00005641e5c06903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007fc8b9a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007fc8b9a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x00005641e5c06945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI-diagnostic-visitor.m.script: line 1: 556286 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lambdas-modern.cpp (854 of 19712) ******************** TEST 'Clang :: Analysis/lambdas-modern.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f46429d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f46429ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f46429d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f464c11bad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f464b072b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f464b072b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f464b072b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f464b072b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f464b072b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f464b072b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f464b072b29 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:89 #11 0x00007f464b072e8c 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 #12 0x00007f464b072e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f464b072e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f464b072e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f464b072e8c 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:53 #16 0x00007f464b07347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f464b07347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f464b07347f 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:62 #19 0x00007f464b073756 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007f464b073756 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007f464b073756 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:50 #22 0x00007f464b073400 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #23 0x00007f464b073400 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #24 0x00007f464b073400 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:64 #25 0x00007f464b0927d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #26 0x00007f464b0927d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #27 0x00007f464b0927d0 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 #28 0x00007f464b0927d0 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 #29 0x00007f464b09333c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #30 0x00007f464b09333c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x00007f464b09333c 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 #32 0x00007f464b093c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f464b093c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f464b093c90 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 0x00007f464b03ce4e 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 0x00007f464b07eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #37 0x00007f464b07eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #38 0x00007f464b07eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #39 0x00007f464b07eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #40 0x00007f464b07eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #41 0x00007f464b07eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #42 0x00007f464b07eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #43 0x00007f464b07eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #44 0x00007f464b07eb8e 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:695:0 #45 0x00007f464b07f767 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:0 #46 0x00007f464b09c6f1 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 #47 0x00007f464b09c6f1 clang::ento::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 #48 0x00007f464b09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #49 0x00007f464b09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #50 0x00007f464b03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #51 0x00007f464b05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #52 0x00007f464b05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #53 0x00007f464b34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x00007f464b34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x00007f464b34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #56 0x00007f464b34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #57 0x00007f464b34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #58 0x00007f464b34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #59 0x00007f464b34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #60 0x00007f464b34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #61 0x00007f464b351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x00007f464b351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x00007f464b351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #64 0x00007f464b351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #65 0x00007f464b351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #66 0x00007f464970724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #67 0x00007f464970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #68 0x00007f464970724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #69 0x00007f464970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #70 0x00007f464ae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #71 0x00007f464adf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #72 0x00007f464adf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #73 0x00007f464adf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #74 0x00007f464ae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #75 0x0000564b6abe8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #76 0x0000564b6abec70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #77 0x0000564b6abee440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #78 0x0000564b6abe2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #79 0x00007f464c105f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #80 0x00007f464c106009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #81 0x0000564b6abe2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-modern.cpp.script: line 2: 556317 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/keychainAPI.m (856 of 19712) ******************** TEST 'Clang :: Analysis/keychainAPI.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa2d0fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa2d0fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa2d0fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa2d0054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa2d98105be retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa2d98105be retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa2d98105be retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa2d98105be IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa2d98105be ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa2d98105be MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa2d98105be get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fa2d98105be (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:0 #12 0x00007fa2d961bfa7 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 0x00007fa2d966f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007fa2d966f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007fa2d966f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007fa2d966f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007fa2d966f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007fa2d966f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007fa2d966f23c 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 0x00007fa2d969db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007fa2d969df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa2d963fac2 clang::ento::CoreEngine::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 0x00007fa2d965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007fa2d965109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007fa2d994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007fa2d994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007fa2d994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007fa2d994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007fa2d994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007fa2d994e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007fa2d994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007fa2d994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007fa2d9951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007fa2d9951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007fa2d9951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007fa2d9951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007fa2d9951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007fa2d7d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007fa2d7d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007fa2d7d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007fa2d7d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007fa2d9444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007fa2d93f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007fa2d93f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007fa2d93f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007fa2d94948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000561365223a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000056136522770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000561365229440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000056136521d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007fa2d003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007fa2d003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000056136521d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI.m.script: line 1: 556291 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lambdas.cpp (857 of 19712) ******************** TEST 'Clang :: Analysis/lambdas.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2854bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2854bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2854bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2853c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f285d2ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f285d2ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f285d2ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f285d2ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f285d2ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f285d2ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f285d26f34b 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 #11 0x00007f285d26f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f285d26f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f285d26f34b 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:50 #14 0x00007f285d29db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f285d29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f285d23f9ea 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 #17 0x00007f285d23fb9e 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:223:0 #18 0x00007f285d25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f285d25109a clang::ento::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 0x00007f285d54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f285d54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f285d54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f285d54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f285d54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f285d54e0a7 llvm::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 0x00007f285d54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f285d54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f285d551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f285d551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f285d551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f285d551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f285d551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f285b90724a __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 0x00007f285b90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f285b90724a void clang::finalize>, 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 0x00007f285b90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f285d044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f285cff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f285cff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f285cff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f285d0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055e4a7775a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055e4a777970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055e4a777b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055e4a776f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f2853c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f2853c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055e4a776f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.script: line 4: 556323 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/iterator-modeling.cpp (859 of 19712) ******************** TEST 'Clang :: Analysis/iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7b867d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7b867ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7b867d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7b85854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7b8ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7b8ee72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7b8ee72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7b8ee72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f7b8ee72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f7b8ee72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f7b8ee72b29 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:89 #11 0x00007f7b8ee72e8c 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 #12 0x00007f7b8ee72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f7b8ee72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f7b8ee72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f7b8ee72e8c 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:53 #16 0x00007f7b8ee7347f llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f7b8ee7347f llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f7b8ee7347f 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:62 #19 0x00007f7b8ee927d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x00007f7b8ee927d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f7b8ee927d0 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 #22 0x00007f7b8ee927d0 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 #23 0x00007f7b8ee9333c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f7b8ee9333c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f7b8ee9333c 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 #26 0x00007f7b8ee93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f7b8ee93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f7b8ee93c90 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 #29 0x00007f7b8ee3ce4e 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 #30 0x00007f7b8ee7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #31 0x00007f7b8ee7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #32 0x00007f7b8ee7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #33 0x00007f7b8ee7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #34 0x00007f7b8ee7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #35 0x00007f7b8ee7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #36 0x00007f7b8ee7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #37 0x00007f7b8ee7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #38 0x00007f7b8ee7eb8e 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:695:0 #39 0x00007f7b8ee7f767 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:0 #40 0x00007f7b8ee9c6f1 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 0x00007f7b8ee9c6f1 clang::ento::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 #42 0x00007f7b8ee9dc4e clang::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 0x00007f7b8ee9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7b8ee3fac2 clang::ento::CoreEngine::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 0x00007f7b8ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #46 0x00007f7b8ee5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #47 0x00007f7b8f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x00007f7b8f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x00007f7b8f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #50 0x00007f7b8f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #51 0x00007f7b8f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #52 0x00007f7b8f14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #53 0x00007f7b8f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #54 0x00007f7b8f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #55 0x00007f7b8f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x00007f7b8f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x00007f7b8f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #58 0x00007f7b8f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #59 0x00007f7b8f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #60 0x00007f7b8d50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #61 0x00007f7b8d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #62 0x00007f7b8d50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #63 0x00007f7b8d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #64 0x00007f7b8ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #65 0x00007f7b8ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #66 0x00007f7b8ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #67 0x00007f7b8ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #68 0x00007f7b8ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #69 0x0000564422796a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #70 0x000056442279a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #71 0x000056442279c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #72 0x0000564422790903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #73 0x00007f7b8583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #74 0x00007f7b8583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #75 0x0000564422790945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-modeling.cpp.script: line 6: 556258 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lifetime-extension.mm (860 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extension.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbb477d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbb477ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbb477d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbb46854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbb4fe6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fbb4fe6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fbb4fe6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fbb4fe6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fbb4fe6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fbb4fe6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fbb4fe6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fbb4fe6efd6 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 0x00007fbb4fe9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fbb4fe9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fbb4fe3f9ea 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 #15 0x00007fbb4fe3fb9e 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:223:0 #16 0x00007fbb4fe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fbb4fe5109a clang::ento::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 0x00007fbb5014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fbb5014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fbb5014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fbb5014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fbb5014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fbb5014e0a7 llvm::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 0x00007fbb5014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fbb5014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fbb50151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fbb50151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fbb50151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fbb50151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fbb50151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fbb4e50724a __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 0x00007fbb4e50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fbb4e50724a void clang::finalize>, 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 0x00007fbb4e50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fbb4fc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fbb4fbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fbb4fbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fbb4fbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fbb4fc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055b4215c4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055b4215c870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055b4215ca440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055b4215be903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fbb4683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fbb4683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055b4215be945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.mm.script: line 4: 556356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lifetime-extension.cpp (862 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extension.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f054dfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f054dfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f054dfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f054d054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f055666efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f055666efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f055666efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f055666efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f055666efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f055666efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f055666efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f055666efd6 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 0x00007f055669db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f055669df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f055663f9ea 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 #15 0x00007f055663fb9e 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:223:0 #16 0x00007f055665109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f055665109a clang::ento::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 0x00007f055694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f055694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f055694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f055694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f055694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f055694e0a7 llvm::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 0x00007f055694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f055694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f0556951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f0556951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f0556951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f0556951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f0556951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f0554d0724a __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 0x00007f0554d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f0554d0724a void clang::finalize>, 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 0x00007f0554d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f0556444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f05563f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f05563f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f05563f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f05564948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055ebd931aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055ebd931e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055ebd9320440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055ebd9314903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f054d03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f054d03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055ebd9314945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.cpp.script: line 6: 556357 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ivars.m (865 of 19712) ******************** TEST 'Clang :: Analysis/ivars.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f586d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f586d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f586d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f586c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5876235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5876235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5876235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5876235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5876235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5876235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5876235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5876235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5875ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5875ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5875ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5875ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5875ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5875ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5875ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5875ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5875ed4e65 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 #21 0x00007f5875ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5875ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5875ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5875eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5875eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5875eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5875ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5875ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5875ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5875ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5875ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5875ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5875ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5875ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5875ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5875ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5875ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5875ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5875e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5875e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5875e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5875e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5876386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5876386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5876386b68 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 #46 0x00007f5875e6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f5875e6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f5875e6bf90 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 #49 0x00007f5875e6bf90 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 #50 0x00007f5875e6bf90 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 #51 0x00007f5875e6bf90 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 #52 0x00007f5875e6bf90 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 #53 0x00007f5875e6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f5875e6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f5875e6bf90 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 #56 0x00007f5875e3f21a 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:0 #57 0x00007f5875e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f5875e5109a clang::ento::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 0x00007f587614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f587614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f587614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f587614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f587614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f587614e0a7 llvm::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 0x00007f587614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f587614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5876151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5876151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5876151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5876151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5876151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f587450724a __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 0x00007f587450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f587450724a void clang::finalize>, 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 0x00007f587450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5875c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f5875bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f5875bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f5875bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f5875c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000558f61bd4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000558f61bd870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000558f61bda440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000558f61bce903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f586c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f586c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000558f61bce945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ivars.m.script: line 1: 556276 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/lambdas-generalized-capture.cpp (868 of 19712) ******************** TEST 'Clang :: Analysis/lambdas-generalized-capture.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc8671d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc8671ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc8671d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc866254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc86fc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc86fc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc86fc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc86fc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc86fc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc86fc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc86fc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc86fc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc86f8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc86f8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc86f8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc86f8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc86f8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc86f8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc86f8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc86f8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc86f8d4c2b 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 #21 0x00007fc86f8d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc86f8d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc86f8d4c2b (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:31 #24 0x00007fc86f8d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc86f8d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc86f8d6cdb 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 #27 0x00007fc86f8d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc86f8d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc86f8d64ad 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 #30 0x00007fc86f8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc86f8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc86f8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc86f8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc86f8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc86f8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc86f8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc86f8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc86f8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc86f83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc86f83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc86f83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc86f83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc86fd86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fc86fd86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fc86fd86b68 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 #46 0x00007fc86f86bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fc86f86bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fc86f86bf90 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 #49 0x00007fc86f86bf90 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 #50 0x00007fc86f86bf90 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 #51 0x00007fc86f86bf90 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 #52 0x00007fc86f86bf90 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 #53 0x00007fc86f86bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fc86f86bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fc86f86bf90 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 #56 0x00007fc86f83f21a 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:0 #57 0x00007fc86f85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fc86f85109a clang::ento::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 0x00007fc86fb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fc86fb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fc86fb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fc86fb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fc86fb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fc86fb4e0a7 llvm::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 0x00007fc86fb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fc86fb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fc86fb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fc86fb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fc86fb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fc86fb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fc86fb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fc86df0724a __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 0x00007fc86df0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fc86df0724a void clang::finalize>, 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 0x00007fc86df0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fc86f644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fc86f5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fc86f5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fc86f5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fc86f6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000557321258a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055732125c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055732125e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000557321252903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fc86623ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fc86623f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000557321252945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-generalized-capture.cpp.script: line 1: 556318 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/kmalloc-linux.c (869 of 19712) ******************** TEST 'Clang :: Analysis/kmalloc-linux.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f78761d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f78761ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f78761d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f787f914ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f787ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f787ec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f787ec35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f787ec35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f787ec35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f787ec35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f787ec35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f787ec35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f787e8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f787e8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f787e8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f787e8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f787e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f787e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f787e8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f787e8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f787e8d4e65 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 #21 0x00007f787e8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f787e8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f787e8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f787e8d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f787e8d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f787e8d6cdb 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 #27 0x00007f787e8e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f787e8e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f787e8e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f787e8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f787e8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f787e8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f787e8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f787e8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f787e8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f787e83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f787e83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f787e83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f787e83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f787ed86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f787ed86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f787ed86b68 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 #43 0x00007f787ea1554c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007f787ea1554c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007f787ea1554c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007f787ea1554c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007f787ea1554c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007f787ea1554c performKernelMalloc /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1189:0 #49 0x00007f787ea1554c (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 #50 0x00007f787ea1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #51 0x00007f787ea1851b 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 #52 0x00007f787e82561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #53 0x00007f787e82561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x00007f787e82561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #55 0x00007f787e82561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #56 0x00007f787e82561d 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:26 #57 0x00007f787e87ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #58 0x00007f787e87ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #59 0x00007f787e87ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #60 0x00007f787e87ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #61 0x00007f787e87ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #62 0x00007f787e87ecbc 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:0 #63 0x00007f787e87f767 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:0 #64 0x00007f787e89c6f1 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 #65 0x00007f787e89c6f1 clang::ento::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 #66 0x00007f787e89dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007f787e89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007f787e83fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007f787e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007f787e85109a clang::ento::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 0x00007f787eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007f787eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007f787eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007f787eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007f787eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007f787eb4e0a7 llvm::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 0x00007f787eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007f787eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007f787eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007f787eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007f787eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007f787eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007f787eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007f787cf0724a __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 0x00007f787cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007f787cf0724a void clang::finalize>, 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 0x00007f787cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007f787e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007f787e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007f787e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007f787e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007f787e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000557bd5f88a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000557bd5f8c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000557bd5f8e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000557bd5f82903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007f787f8fef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007f787f8ff009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000557bd5f82945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/kmalloc-linux.c.script: line 1: 556294 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/left-shift-cxx2a.cpp (870 of 19712) ******************** TEST 'Clang :: Analysis/left-shift-cxx2a.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f794d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f794d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f794d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f794c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7956235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7956235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7956235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7956235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7956235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7956235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7956235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7956235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7955ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7955ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7955ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7955ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7955ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7955ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7955ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7955ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7955ed4e65 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 #21 0x00007f7955ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7955ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7955ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7955eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7955eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7955eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7955ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7955ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7955ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7955ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7955ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7955ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7955ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7955ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7955ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7955ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7955ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7955ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7955e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7955e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7955e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7955e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7956386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7956386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7956386b68 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 #46 0x00007f7955e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f7955e69db3 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 #48 0x00007f7955e69db3 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 #49 0x00007f7955e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f7955e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f7955e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f7955e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f7955e9d93e clang::ento::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 #54 0x00007f7955e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f7955e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f7955e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f7955e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f7955e5109a clang::ento::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 0x00007f795614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f795614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f795614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f795614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f795614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f795614e0a7 llvm::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 0x00007f795614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f795614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f7956151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f7956151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f7956151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f7956151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f7956151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f795450724a __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 0x00007f795450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f795450724a void clang::finalize>, 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 0x00007f795450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f7955c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f7955bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f7955bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f7955bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f7955c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000563dd2f79a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000563dd2f7d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000563dd2f7f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000563dd2f73903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f794c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f794c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000563dd2f73945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/left-shift-cxx2a.cpp.script: line 2: 556342 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-extended-regions.cpp (871 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extended-regions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4afabd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4afabceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4afabd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4af9c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4b03635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4b03635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4b03635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4b03635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4b03635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4b03635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4b03635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4b03635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4b032d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4b032d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4b032d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4b032d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4b032d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4b032d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4b032d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4b032d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4b032d4c2b 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 #21 0x00007f4b032d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4b032d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4b032d4c2b (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:31 #24 0x00007f4b032d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4b032d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4b032d6cdb 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 #27 0x00007f4b032d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4b032d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4b032d64ad 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 #30 0x00007f4b032e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4b032e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4b032e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4b032e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4b032e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4b032e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4b032e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4b032e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4b032e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4b0323da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4b0323da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4b0323da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4b0323da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4b03786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4b03786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4b03786b68 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 #46 0x00007f4b0326bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4b0326bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4b0326bf90 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 #49 0x00007f4b0326bf90 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 #50 0x00007f4b0326bf90 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 #51 0x00007f4b0326bf90 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 #52 0x00007f4b0326bf90 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 #53 0x00007f4b0326bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4b0326bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4b0326bf90 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 #56 0x00007f4b0323f21a 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:0 #57 0x00007f4b0325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4b0325109a clang::ento::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 0x00007f4b0354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4b0354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4b0354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4b0354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4b0354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4b0354e0a7 llvm::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 0x00007f4b0354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4b0354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4b03551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4b03551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4b03551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4b03551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4b03551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4b0190724a __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 0x00007f4b0190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4b0190724a void clang::finalize>, 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 0x00007f4b0190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4b03044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4b02ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4b02ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4b02ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4b030948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000563a0f683a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000563a0f68770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000563a0f689440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000563a0f67d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4af9c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4af9c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000563a0f67d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extended-regions.cpp.script: line 3: 556347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/live-bindings-test.cpp (872 of 19712) ******************** TEST 'Clang :: Analysis/live-bindings-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f951ddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f951ddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f951ddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f951ce54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f952646efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f952646efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f952646efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f952646efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f952646efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f952646efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f952646efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f952646efd6 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 0x00007f952649db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f952649df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f952643fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f952645109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f952645109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f952674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f952674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f952674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f952674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f952674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f952674e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f952674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f952674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f9526751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f9526751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f9526751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f9526751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f9526751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f9524b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f9524b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f9524b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f9524b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f9526244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f95261f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f95261f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f95261f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f95262948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x0000559b543a9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x0000559b543ad70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x0000559b543af440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x0000559b543a3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f951ce3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f951ce3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x0000559b543a3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-bindings-test.cpp.script: line 1: 556373 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/iterator-range.cpp (873 of 19712) ******************** TEST 'Clang :: Analysis/iterator-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc09c3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc09c3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc09c3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc09b454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc0a4ac6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fc0a4ac6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc0a4ac6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc0a4ac6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fc0a4ac6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fc0a4ac6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fc0a4ac6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fc0a4ac6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007fc0a4ac6be6 (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 0x00007fc0a4ac7048 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 #14 0x00007fc0a4ac7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007fc0a4ac7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007fc0a4ac7048 (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 #17 0x00007fc0a4aecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007fc0a4aecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007fc0a4aecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007fc0a4aecee7 (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 #21 0x00007fc0a4aeca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007fc0a4aeca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007fc0a4aeca64 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 #24 0x00007fc0a4f3bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007fc0a4f3bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007fc0a4f3bf33 (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 #27 0x00007fc0a4ab4298 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 #28 0x00007fc0a4ab4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007fc0a4ab4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007fc0a4ab4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007fc0a4ab4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007fc0a4ab3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007fc0a4ab3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007fc0a4ab3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007fc0a4ad62c8 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 #36 0x00007fc0a4ad62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007fc0a4ad62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007fc0a4ad62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007fc0a4ad63a7 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 #40 0x00007fc0a4ad63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007fc0a4ad63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007fc0a4ad63a7 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 #43 0x00007fc0a4ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc0a4ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc0a4ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007fc0a4ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007fc0a4ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007fc0a4ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007fc0a4ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007fc0a4ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007fc0a4ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007fc0a4a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007fc0a4a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007fc0a4a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007fc0a4a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007fc0a4a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fc0a4a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fc0a4a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007fc0a4a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fc0a4a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fc0a4a0953e 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 #62 0x00007fc0a4b94b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007fc0a4b94b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007fc0a4b94b85 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:42 #65 0x00007fc0a4b58181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007fc0a4b58181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007fc0a4b58181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007fc0a4b58181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007fc0a4b58181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007fc0a4b58181 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:46 #71 0x00007fc0a4a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007fc0a4a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007fc0a4a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007fc0a4a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007fc0a4a2561d 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:26 #76 0x00007fc0a4a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007fc0a4a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007fc0a4a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007fc0a4a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007fc0a4a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007fc0a4a7ecbc 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:0 #82 0x00007fc0a4a7f767 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:0 #83 0x00007fc0a4a9c6f1 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 #84 0x00007fc0a4a9c6f1 clang::ento::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 #85 0x00007fc0a4a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007fc0a4a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007fc0a4a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007fc0a4a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007fc0a4a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007fc0a4d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007fc0a4d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007fc0a4d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007fc0a4d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007fc0a4d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007fc0a4d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007fc0a4d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007fc0a4d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007fc0a4d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007fc0a4d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007fc0a4d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007fc0a4d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007fc0a4d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007fc0a310724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007fc0a310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007fc0a310724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007fc0a310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007fc0a4844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007fc0a47f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007fc0a47f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007fc0a47f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007fc0a48948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x00005560cfd70a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x00005560cfd7470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x00005560cfd76440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x00005560cfd6a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007fc09b43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007fc09b43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x00005560cfd6a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-range.cpp.script: line 2: 556265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/llvm-conventions.cpp (875 of 19712) ******************** TEST 'Clang :: Analysis/llvm-conventions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f87813d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f87813ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f87813d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8780454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8789a72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f8789a72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8789a72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8789a72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f8789a72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f8789a72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f8789a72b29 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:89 #11 0x00007f8789a72e8c 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 #12 0x00007f8789a72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f8789a72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f8789a72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f8789a72e8c 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:53 #16 0x00007f8789a731e0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f8789a731e0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f8789a731e0 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:63 #19 0x00007f8789a73756 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007f8789a73756 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007f8789a73756 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:50 #22 0x00007f8789a73400 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #23 0x00007f8789a73400 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #24 0x00007f8789a73400 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:64 #25 0x00007f8789a9a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #26 0x00007f8789a9a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #27 0x00007f8789a9a404 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 #28 0x00007f8789a9a404 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 #29 0x00007f8789a9c69e 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 #30 0x00007f8789a9c69e clang::ento::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 #31 0x00007f8789a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #32 0x00007f8789a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8789a3fac2 clang::ento::CoreEngine::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 0x00007f8789a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #35 0x00007f8789a5109a clang::ento::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 0x00007f8789d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8789d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8789d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #39 0x00007f8789d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #40 0x00007f8789d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #41 0x00007f8789d4e0a7 llvm::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 0x00007f8789d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x00007f8789d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #44 0x00007f8789d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x00007f8789d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x00007f8789d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x00007f8789d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x00007f8789d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x00007f878810724a __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 0x00007f878810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x00007f878810724a void clang::finalize>, 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 0x00007f878810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x00007f8789844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #54 0x00007f87897f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #55 0x00007f87897f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #56 0x00007f87897f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #57 0x00007f87898948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #58 0x000055a4534b6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x000055a4534ba70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x000055a4534bc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x000055a4534b0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x00007f878043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #63 0x00007f878043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #64 0x000055a4534b0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/llvm-conventions.cpp.script: line 1: 556411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (876 of 19712) ******************** TEST 'Clang :: Analysis/live-variables.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f2f639d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2f639ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2f639d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2f62a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2f6c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2f6c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2f6c435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2f6c435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2f6c435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2f6c435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2f6c435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2f6c435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2f6c0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2f6c0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2f6c0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2f6c0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2f6c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2f6c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2f6c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2f6c0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2f6c0d4e65 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 #21 0x00007f2f6c0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2f6c0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2f6c0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2f6c0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2f6c0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2f6c0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2f6c0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2f6c0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2f6c0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2f6c0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2f6c0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2f6c0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2f6c0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2f6c0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2f6c0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2f6c0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2f6c0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2f6c0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2f6c03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2f6c03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2f6c03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2f6c03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2f6c586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2f6c586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2f6c586b68 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 #46 0x00007f2f6c069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f2f6c069db3 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 #48 0x00007f2f6c069db3 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 #49 0x00007f2f6c09d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f2f6c09d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f2f6c09d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f2f6c09d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f2f6c09d93e clang::ento::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 #54 0x00007f2f6c09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f2f6c09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f2f6c03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f2f6c05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f2f6c05109a clang::ento::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 0x00007f2f6c34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f2f6c34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f2f6c34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f2f6c34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f2f6c34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f2f6c34e0a7 llvm::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 0x00007f2f6c34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f2f6c34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f2f6c351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f2f6c351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f2f6c351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f2f6c351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f2f6c351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f2f6a70724a __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 0x00007f2f6a70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f2f6a70724a void clang::finalize>, 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 0x00007f2f6a70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f2f6be44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f2f6bdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f2f6bdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f2f6bdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f2f6be948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000557c47606a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000557c4760a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000557c4760c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000557c47600903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f2f62a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f2f62a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000557c47600945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.cpp.script: line 1: 556390 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 (877 of 19712) ******************** TEST 'Clang :: Analysis/live-variables.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3c2bdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3c2bdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3c2bdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3c2ae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3c34835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3c34835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3c34835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3c34835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3c34835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3c34835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3c34835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3c34835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3c344d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3c344d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3c344d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3c344d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3c344d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3c344d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3c344d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3c344d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3c344d4e65 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 #21 0x00007f3c344d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3c344d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3c344d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3c344b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3c344b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3c344b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3c344d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3c344d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3c344d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3c344e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3c344e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3c344e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3c344e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3c344e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3c344e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3c344e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3c344e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3c344e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3c3443da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3c3443da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3c3443da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3c3443da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3c34986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3c34986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3c34986b68 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 #46 0x00007f3c34469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f3c34469db3 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 #48 0x00007f3c34469db3 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 #49 0x00007f3c3449d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f3c3449d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f3c3449d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f3c3449d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f3c3449d93e clang::ento::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 #54 0x00007f3c3449dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f3c3449df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f3c3443fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f3c3445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3c3445109a clang::ento::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 0x00007f3c3474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3c3474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3c3474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3c3474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3c3474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3c3474e0a7 llvm::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 0x00007f3c3474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3c3474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3c34751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3c34751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3c34751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3c34751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3c34751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f3c32b0724a __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 0x00007f3c32b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f3c32b0724a void clang::finalize>, 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 0x00007f3c32b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3c34244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f3c341f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f3c341f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f3c341f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3c342948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055c764bd5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055c764bd970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055c764bdb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055c764bcf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f3c2ae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f3c2ae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055c764bcf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.m.script: line 1: 556402 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/logical-ops.c (878 of 19712) ******************** TEST 'Clang :: Analysis/logical-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7c63fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7c63fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7c63fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7c63054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7c6c6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7c6c6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7c6c6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7c6c6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f7c6c6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f7c6c6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f7c6c66f34b 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 #11 0x00007f7c6c66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f7c6c66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f7c6c66f34b 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:50 #14 0x00007f7c6c69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f7c6c69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f7c6c63f9ea 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 #17 0x00007f7c6c63fb9e 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:223:0 #18 0x00007f7c6c65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f7c6c65109a clang::ento::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 0x00007f7c6c94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f7c6c94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f7c6c94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f7c6c94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f7c6c94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f7c6c94e0a7 llvm::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 0x00007f7c6c94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f7c6c94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f7c6c951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f7c6c951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f7c6c951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f7c6c951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f7c6c951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f7c6ad0724a __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 0x00007f7c6ad0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f7c6ad0724a void clang::finalize>, 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 0x00007f7c6ad0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f7c6c444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f7c6c3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f7c6c3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f7c6c3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f7c6c4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055cde8956a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055cde895a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055cde895c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055cde8950903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f7c6303ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f7c6303f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055cde8950945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/logical-ops.c.script: line 1: 556436 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (879 of 19712) ******************** TEST 'Clang :: Analysis/localization.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa73cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa73cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa73cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa73be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa745835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa745835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa745835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa745835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa745835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa745835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa745835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa745835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa7454d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa7454d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa7454d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa7454d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa7454d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa7454d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa7454d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa7454d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa7454d4e65 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 #21 0x00007fa7454d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa7454d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa7454d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa7454b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa7454b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa7454b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa7454d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa7454d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa7454d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa7454e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa7454e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa7454e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa7454e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa7454e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa7454e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa7454e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa7454e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa7454e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa74543da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa74543da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa74543da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa74543da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa74543df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa74543df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa74543df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa74540953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa74540953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa74540953e 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 #49 0x00007fa745450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa745450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa745450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fa74545149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa74545149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa74545149e 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 #55 0x00007fa74574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa74574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa74574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa74574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa74574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa74574e0a7 llvm::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 0x00007fa74574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa74574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa745751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa745751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa745751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa745751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa745751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa743b0724a __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 0x00007fa743b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa743b0724a void clang::finalize>, 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 0x00007fa743b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa745244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa7451f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa7451f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa7451f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa7452948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000555774bc0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000555774bc470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000555774bc6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000555774bba903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa73be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa73be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000555774bba945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization.m.script: line 1: 556429 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/localization-aggressive.m (880 of 19712) ******************** TEST 'Clang :: Analysis/localization-aggressive.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fblocks -x objective-c-header -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f78acbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f78acbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f78acbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f78abc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f78b5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f78b5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f78b5635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f78b5635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f78b5635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f78b5635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f78b5635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f78b5635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f78b52d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f78b52d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f78b52d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f78b52d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f78b52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f78b52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f78b52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f78b52d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f78b52d4e65 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 #21 0x00007f78b52d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f78b52d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f78b52d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f78b52b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f78b52b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f78b52b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f78b52d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f78b52d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f78b52d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f78b52e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f78b52e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f78b52e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f78b52e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f78b52e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f78b52e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f78b52e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f78b52e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f78b52e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f78b523da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f78b523da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f78b523da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f78b523da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f78b523df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f78b523df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f78b523df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f78b520953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f78b520953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f78b520953e 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 #49 0x00007f78b5250eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f78b5250eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f78b5250eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f78b525149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f78b525149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f78b525149e 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 #55 0x00007f78b554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f78b554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f78b554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f78b554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f78b554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f78b554e0a7 llvm::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 0x00007f78b554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f78b554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f78b5551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f78b5551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f78b5551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f78b5551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f78b5551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f78b390724a __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 0x00007f78b390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f78b390724a void clang::finalize>, 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 0x00007f78b390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f78b5044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f78b4ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f78b4ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f78b4ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f78b50948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005632be44ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005632be45270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005632be454440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005632be448903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f78abc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f78abc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005632be448945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.script: line 2: 556417 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/loop-unrolling.cpp (882 of 19712) ******************** TEST 'Clang :: Analysis/loop-unrolling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2b60dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2b60dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2b60dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2b5fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2b69835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2b69835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2b69835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2b69835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2b69835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2b69835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2b69835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2b69835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2b694d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2b694d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2b694d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2b694d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2b694d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2b694d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2b694d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2b694d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2b694d4e65 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 #21 0x00007f2b694d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2b694d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2b694d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2b694b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2b694b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2b694b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2b694d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2b694d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2b694d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2b694e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2b694e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2b694e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2b694e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2b694e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2b694e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2b694e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2b694e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2b694e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2b6943da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2b6943da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2b6943da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2b6943da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2b6943df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f2b6943df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f2b6943df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f2b6940953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f2b6940953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f2b6940953e 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 #49 0x00007f2b69450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f2b69450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f2b69450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f2b6945149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f2b6945149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f2b6945149e 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 #55 0x00007f2b6974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f2b6974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f2b6974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f2b6974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f2b6974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f2b6974e0a7 llvm::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 0x00007f2b6974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f2b6974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f2b69751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f2b69751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f2b69751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f2b69751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f2b69751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f2b67b0724a __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 0x00007f2b67b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f2b67b0724a void clang::finalize>, 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 0x00007f2b67b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f2b69244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f2b691f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f2b691f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f2b691f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f2b692948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055ee052cca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055ee052d070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055ee052d2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055ee052c6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f2b5fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f2b5fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055ee052c6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-unrolling.cpp.script: line 2: 556448 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (883 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening-preserve-reference-type.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9bc41d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9bc41ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9bc41d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9bc3254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9bcc86f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f9bcc86f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9bcc86f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9bcc86f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f9bcc86f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f9bcc86f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f9bcc86f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f9bcc86f83e 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 0x00007f9bccd9560a std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x00007f9bccd9560a std::optional::operator bool() const /usr/include/c++/12/optional:985:0 #14 0x00007f9bccd9560a 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 0x00007f9bcc89cbdf clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #16 0x00007f9bcc89cbdf clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #17 0x00007f9bcc89cbdf clang::ento::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 0x00007f9bcc89dc4e clang::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 0x00007f9bcc89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9bcc83fac2 clang::ento::CoreEngine::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 0x00007f9bcc85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #22 0x00007f9bcc85109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #23 0x00007f9bccb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f9bccb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f9bccb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #26 0x00007f9bccb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #27 0x00007f9bccb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #28 0x00007f9bccb4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #29 0x00007f9bccb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #30 0x00007f9bccb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #31 0x00007f9bccb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x00007f9bccb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x00007f9bccb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #34 0x00007f9bccb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #35 0x00007f9bccb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #36 0x00007f9bcaf0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #37 0x00007f9bcaf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #38 0x00007f9bcaf0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #39 0x00007f9bcaf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #40 0x00007f9bcc644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #41 0x00007f9bcc5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #42 0x00007f9bcc5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #43 0x00007f9bcc5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #44 0x00007f9bcc6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #45 0x0000560908440a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #46 0x000056090844470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #47 0x0000560908446440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #48 0x000056090843a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #49 0x00007f9bc323ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #50 0x00007f9bc323f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #51 0x000056090843a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-preserve-reference-type.cpp.script: line 1: 556465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (884 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f73c87d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f73c87ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f73c87d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f73c7854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f73d0e7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f73d0e7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f73d0e7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f73d0e7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f73d0e7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f73d0e7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f73d0e7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f73d0e7d99e 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 0x00007f73d0e3ed11 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 0x00007f73d0e3fc1e 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 0x00007f73d0e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f73d0e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f73d114c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f73d114c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f73d114c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f73d114c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f73d114c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f73d114e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f73d114e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f73d114e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f73d1151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f73d1151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f73d1151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f73d1151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f73d1151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f73cf50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f73cf50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f73cf50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f73cf50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f73d0c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f73d0bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f73d0bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f73d0bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f73d0c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000056296517da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000056296518170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000562965183440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000562965177903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f73c783ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f73c783f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000562965177945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.cpp.script: line 1: 556482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (885 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f516c3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f516c3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f516c3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f516b454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5174e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5174e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5174e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5174e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5174e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5174e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5174e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5174e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5174ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5174ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5174ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5174ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5174ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5174ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5174ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5174ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5174ad4e65 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 #21 0x00007f5174ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5174ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5174ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5174ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5174ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5174ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5174ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5174ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5174ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5174ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5174ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5174ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5174ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5174ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5174ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5174ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5174ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5174ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5174a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5174a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5174a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5174a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5174a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f5174a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f5174a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f5174a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f5174a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f5174a97620 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 #49 0x00007f5174a97620 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 #50 0x00007f5174a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f5174a977b2 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 0x00007f5174a9dfaf clang::ento::ExprEngine::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 0x00007f5174a3f9ea 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 0x00007f5174a3fb9e 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:223:0 #55 0x00007f5174a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f5174a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f5174d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f5174d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f5174d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f5174d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f5174d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f5174d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f5174d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f5174d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f5174d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f5174d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f5174d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f5174d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f5174d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f517310724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f517310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f517310724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f517310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f5174844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f51747f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f51747f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f51747f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f51748948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055e8b6434a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055e8b643870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055e8b643a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055e8b642e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f516b43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f516b43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055e8b642e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-notes.cpp.script: line 1: 556456 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (887 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f35abdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f35abdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f35abdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f35aae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f35b44ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f35b44ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f35b44ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f35b44ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f35b44ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f35b44ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f35b446f34b 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 #11 0x00007f35b446f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f35b446f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f35b446f34b 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:50 #14 0x00007f35b449db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f35b449df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f35b443f9ea 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 #17 0x00007f35b443fb9e 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:223:0 #18 0x00007f35b445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f35b445109a clang::ento::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 0x00007f35b474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f35b474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f35b474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f35b474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f35b474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f35b474e0a7 llvm::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 0x00007f35b474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f35b474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f35b4751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f35b4751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f35b4751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f35b4751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f35b4751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f35b2b0724a __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 0x00007f35b2b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f35b2b0724a void clang::finalize>, 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 0x00007f35b2b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f35b4244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f35b41f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f35b41f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f35b41f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f35b42948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055a80014aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055a80014e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055a800150440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055a800144903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f35aae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f35aae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055a800144945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.c.script: line 2: 556481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc-annotations.cpp (889 of 19712) ******************** TEST 'Clang :: Analysis/malloc-annotations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd657fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd657fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd657fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd657054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd66081dc56 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd66081dc56 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd66081dc56 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd66081dc56 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fd66081dc56 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fd66081dc56 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fd66081dc56 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fd66081dc56 (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 0x00007fd66061bfa7 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 0x00007fd66066f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007fd66066f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007fd66066f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007fd66066f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007fd66066f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007fd66066f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007fd66066f23c 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 0x00007fd66069db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007fd66069df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fd66063fac2 clang::ento::CoreEngine::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 0x00007fd66065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007fd66065109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007fd66094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007fd66094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007fd66094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007fd66094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007fd66094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007fd66094e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007fd66094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007fd66094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007fd660951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007fd660951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007fd660951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007fd660951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007fd660951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007fd65ed0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007fd65ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007fd65ed0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007fd65ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007fd660444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007fd6603f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007fd6603f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007fd6603f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007fd6604948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055a5742dfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055a5742e370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055a5742e5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055a5742d9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007fd65703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007fd65703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055a5742d9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.cpp.script: line 1: 556517 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/main.cpp (890 of 19712) ******************** TEST 'Clang :: Analysis/main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe0ad7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe0ad7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe0ad7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe0ac854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe0b6235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe0b6235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe0b6235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe0b6235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe0b6235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe0b6235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe0b6235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe0b6235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe0b5ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe0b5ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe0b5ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe0b5ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe0b5ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe0b5ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe0b5ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe0b5ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe0b5ed4e65 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 #21 0x00007fe0b5ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe0b5ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe0b5ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe0b5eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe0b5eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe0b5eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe0b5ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe0b5ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe0b5ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe0b5ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe0b5ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe0b5ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe0b5ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe0b5ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe0b5ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe0b5ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe0b5ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe0b5ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe0b5e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe0b5e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe0b5e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe0b5e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe0b6386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe0b6386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe0b6386b68 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 #46 0x00007fe0b5e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fe0b5e69db3 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 #48 0x00007fe0b5e69db3 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 #49 0x00007fe0b5e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fe0b5e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fe0b5e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fe0b5e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fe0b5e9d93e clang::ento::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 #54 0x00007fe0b5e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fe0b5e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fe0b5e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fe0b5e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe0b5e5109a clang::ento::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 0x00007fe0b614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe0b614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe0b614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe0b614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe0b614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe0b614e0a7 llvm::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 0x00007fe0b614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe0b614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe0b6151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe0b6151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe0b6151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe0b6151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe0b6151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe0b450724a __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 0x00007fe0b450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe0b450724a void clang::finalize>, 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 0x00007fe0b450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe0b5c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe0b5bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe0b5bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe0b5bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe0b5c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005596128bea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005596128c270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005596128c4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005596128b8903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe0ac83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe0ac83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005596128b8945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.cpp.script: line 1: 556497 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/main.c (891 of 19712) ******************** TEST 'Clang :: Analysis/main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f201fbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f201fbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f201fbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f201ec54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2028635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2028635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2028635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2028635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2028635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2028635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2028635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2028635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f20282d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f20282d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f20282d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f20282d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f20282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f20282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f20282d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f20282d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f20282d4e65 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 #21 0x00007f20282d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f20282d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f20282d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f20282b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f20282b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f20282b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f20282d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f20282d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f20282d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f20282e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f20282e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f20282e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f20282e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f20282e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f20282e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f20282e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f20282e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f20282e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f202823da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f202823da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f202823da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f202823da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2028786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2028786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2028786b68 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 #46 0x00007f2028269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f2028269db3 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 #48 0x00007f2028269db3 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 #49 0x00007f202829d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f202829d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f202829d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f202829d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f202829d93e clang::ento::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 #54 0x00007f202829dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f202829df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f202823fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f202825109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f202825109a clang::ento::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 0x00007f202854c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f202854c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f202854c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f202854c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f202854c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f202854e0a7 llvm::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 0x00007f202854e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f202854e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f2028551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f2028551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f2028551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f2028551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f2028551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f202690724a __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 0x00007f202690724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f202690724a void clang::finalize>, 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 0x00007f202690724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f2028044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f2027ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f2027ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f2027ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f20280948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005577f79c5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005577f79c970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005577f79cb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005577f79bf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f201ec3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f201ec3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005577f79bf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.c.script: line 1: 556495 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc-annotations.c (892 of 19712) ******************** TEST 'Clang :: Analysis/malloc-annotations.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5c5ddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5c5ddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5c5ddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5c5ce54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5c66814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5c66814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5c66814a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5c66814a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5c66814a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5c66814a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5c66814a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5c66814a5e (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 0x00007f5c665e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f5c665e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f5c665e8fd5 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 0x00007f5c6642397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f5c6642397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f5c6642397a 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:29 #18 0x00007f5c6642397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f5c664e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f5c664e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f5c664e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f5c664e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f5c664e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f5c664e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f5c664e9060 clang::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 0x00007f5c6643db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f5c6643db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f5c6643db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f5c6643db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f5c66986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f5c66986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f5c66986b68 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 0x00007f5c66615ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f5c66615ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f5c66615ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f5c66615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f5c66615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f5c66615ff0 (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 0x00007f5c6661647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f5c6661647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f5c6661647b (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 0x00007f5c6661851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f5c6661851b 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 0x00007f5c6642561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f5c6642561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f5c6642561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f5c6642561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f5c6642561d 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:26 #49 0x00007f5c6647ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f5c6647ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f5c6647ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f5c6647ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f5c6647ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f5c6647ecbc 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:0 #55 0x00007f5c6647f767 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:0 #56 0x00007f5c6649c6f1 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 0x00007f5c6649c6f1 clang::ento::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 0x00007f5c6649dc4e clang::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 0x00007f5c6649df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5c6643fac2 clang::ento::CoreEngine::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 0x00007f5c6645109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f5c6645109a clang::ento::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 0x00007f5c6674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f5c6674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f5c6674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f5c6674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f5c6674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f5c6674e0a7 llvm::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 0x00007f5c6674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f5c6674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f5c66751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f5c66751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f5c66751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f5c66751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f5c66751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f5c64b0724a __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 0x00007f5c64b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f5c64b0724a void clang::finalize>, 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 0x00007f5c64b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f5c66244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f5c661f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f5c661f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f5c661f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f5c662948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x00005599a0f1ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x00005599a0f2270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x00005599a0f24440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x00005599a0f18903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f5c5ce3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f5c5ce3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x00005599a0f18945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.c.script: line 1: 556504 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-bodyfarms.c (895 of 19712) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe2803d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe2803ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe2803d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe27f454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe288e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe288e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe288e14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe288e14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe288e14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe288e14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe288e14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe288e14a5e (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 0x00007fe288be8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fe288be8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fe288be8fd5 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 0x00007fe288a2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fe288a2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fe288a2397a 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:29 #18 0x00007fe288a2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fe288ae8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fe288ae8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fe288ae8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fe288ae8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fe288ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fe288ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fe288ae9060 clang::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 0x00007fe288a3db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fe288a3db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fe288a3db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fe288a3db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fe288f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fe288f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fe288f86b68 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 0x00007fe288c15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fe288c15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fe288c15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fe288c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fe288c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fe288c15ff0 (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 0x00007fe288c16e71 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fe288c16e71 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fe288c16e71 (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 0x00007fe288c1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007fe288c1851b 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 0x00007fe288a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fe288a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fe288a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fe288a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fe288a2561d 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:26 #49 0x00007fe288a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fe288a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fe288a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fe288a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fe288a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fe288a7ecbc 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:0 #55 0x00007fe288a7f767 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:0 #56 0x00007fe288a9c6f1 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 0x00007fe288a9c6f1 clang::ento::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 0x00007fe288a9dc4e clang::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 0x00007fe288a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe288a3fac2 clang::ento::CoreEngine::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 0x00007fe288a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fe288a5109a clang::ento::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 0x00007fe288d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fe288d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fe288d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fe288d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fe288d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fe288d4e0a7 llvm::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 0x00007fe288d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fe288d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fe288d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fe288d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fe288d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fe288d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fe288d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fe28710724a __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 0x00007fe28710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fe28710724a void clang::finalize>, 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 0x00007fe28710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fe288844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fe2887f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fe2887f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fe2887f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fe2888948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x00005601409c0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x00005601409c470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x00005601409c6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x00005601409ba903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fe27f43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fe27f43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x00005601409ba945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.c.script: line 1: 556549 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-bodyfarms.cpp (896 of 19712) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f60fabd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f60fabceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f60fabd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f60f9c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6103614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6103614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6103614a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6103614a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6103614a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6103614a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6103614a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6103614a5e (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 0x00007f61033e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f61033e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f61033e8fd5 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 0x00007f610322397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f610322397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f610322397a 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:29 #18 0x00007f610322397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f61032e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f61032e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f61032e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f61032e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f61032e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f61032e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f61032e9060 clang::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 0x00007f610323db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f610323db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f610323db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f610323db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f6103786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f6103786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f6103786b68 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 0x00007f6103415ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f6103415ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f6103415ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f6103415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f6103415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f6103415ff0 (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 0x00007f610341647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f610341647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f610341647b (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 0x00007f610341851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f610341851b 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 0x00007f610322561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f610322561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f610322561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f610322561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f610322561d 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:26 #49 0x00007f610327ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f610327ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f610327ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f610327ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f610327ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f610327ecbc 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:0 #55 0x00007f610327f767 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:0 #56 0x00007f610329c6f1 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 0x00007f610329c6f1 clang::ento::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 0x00007f610329dc4e clang::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 0x00007f610329df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f610323fac2 clang::ento::CoreEngine::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 0x00007f610325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f610325109a clang::ento::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 0x00007f610354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f610354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f610354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f610354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f610354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f610354e0a7 llvm::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 0x00007f610354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f610354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f6103551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f6103551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f6103551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f6103551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f6103551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f610190724a __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 0x00007f610190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f610190724a void clang::finalize>, 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 0x00007f610190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f6103044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f6102ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f6102ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f6102ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f61030948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055f4c6b9aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055f4c6b9e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055f4c6ba0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055f4c6b94903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f60f9c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f60f9c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055f4c6b94945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.cpp.script: line 1: 556567 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-free-after-return.cpp (898 of 19712) ******************** TEST 'Clang :: Analysis/malloc-free-after-return.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f16effd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f16effceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f16effd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f16ef054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f16f8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f16f8a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f16f8a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f16f8a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f16f8a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f16f8a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f16f8a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f16f8a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f16f86d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f16f86d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f16f86d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f16f86d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f16f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f16f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f16f86d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f16f86d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f16f86d4e65 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 #21 0x00007f16f86d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f16f86d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f16f86d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f16f86b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f16f86b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f16f86b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f16f86d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f16f86d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f16f86d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f16f86e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f16f86e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f16f86e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f16f86e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f16f86e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f16f86e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f16f86e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f16f86e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f16f86e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f16f863da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f16f863da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f16f863da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f16f863da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f16f863df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f16f863df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f16f863df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f16f8697620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f16f8697620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f16f8697620 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 #49 0x00007f16f8697620 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 #50 0x00007f16f86977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f16f86977b2 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 0x00007f16f869dfaf clang::ento::ExprEngine::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 0x00007f16f863f9ea 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 0x00007f16f863fb9e 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:223:0 #55 0x00007f16f865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f16f865109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f16f894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f16f894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f16f894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f16f894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f16f894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f16f894e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f16f894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f16f894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f16f8951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f16f8951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f16f8951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f16f8951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f16f8951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f16f6d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f16f6d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f16f6d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f16f6d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f16f8444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f16f83f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f16f83f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f16f83f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f16f84948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055857e6dba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055857e6df70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055857e6e1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055857e6d5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f16ef03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f16ef03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055857e6d5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-free-after-return.cpp.script: line 1: 556588 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-interprocedural.c (899 of 19712) ******************** TEST 'Clang :: Analysis/malloc-interprocedural.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc1fa7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc1fa7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc1fa7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc1f9854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc203235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc203235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc203235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc203235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc203235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc203235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc203235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc203235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc202ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc202ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc202ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc202ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc202ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc202ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc202ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc202ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc202ed4e65 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 #21 0x00007fc202ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc202ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc202ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc202eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc202eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc202eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc202ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc202ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc202ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc202ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc202ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc202ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc202ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc202ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc202ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc202ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc202ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc202ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc202e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc202e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc202e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc202e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc203386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fc203386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fc203386b68 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 #46 0x00007fc202e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fc202e69db3 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 #48 0x00007fc202e69db3 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 #49 0x00007fc202e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fc202e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fc202e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fc202e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fc202e9d93e clang::ento::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 #54 0x00007fc202e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fc202e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fc202e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fc202e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fc202e5109a clang::ento::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 0x00007fc20314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fc20314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fc20314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fc20314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fc20314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fc20314e0a7 llvm::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 0x00007fc20314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fc20314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fc203151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fc203151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fc203151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fc203151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fc203151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fc20150724a __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 0x00007fc20150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fc20150724a void clang::finalize>, 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 0x00007fc20150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fc202c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fc202bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fc202bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fc202bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fc202c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005604f8bf0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005604f8bf470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005604f8bf6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005604f8bea903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fc1f983ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fc1f983f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005604f8bea945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-interprocedural.c.script: line 1: 556590 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-fnptr-plist.c (901 of 19712) ******************** TEST 'Clang :: Analysis/malloc-fnptr-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f45d77d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f45d77ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f45d77d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f45d6854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f45e0235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f45e0235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f45e0235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f45e0235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f45e0235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f45e0235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f45e0235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f45e0235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f45dfed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f45dfed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f45dfed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f45dfed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f45dfed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f45dfed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f45dfed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f45dfed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f45dfed4e65 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 #21 0x00007f45dfed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f45dfed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f45dfed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f45dfeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f45dfeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f45dfeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f45dfed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f45dfed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f45dfed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f45dfee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f45dfee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f45dfee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f45dfee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f45dfee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f45dfee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f45dfee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f45dfee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f45dfee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f45dfe3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f45dfe3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f45dfe3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f45dfe3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f45e0386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f45e0386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f45e0386b68 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 #46 0x00007f45e001b114 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f45e001b114 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f45e001b114 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f45e001b114 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f45e001b114 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f45e001b114 (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 #52 0x00007f45e02149d5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f45e02149d5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f45e02149d5 (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 #55 0x00007f45e0015826 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #56 0x00007f45e0015826 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #57 0x00007f45e0015826 (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 #58 0x00007f45e001845f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007f45e001845f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007f45e001845f checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #61 0x00007f45e001845f 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 #62 0x00007f45dfe2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #63 0x00007f45dfe2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #64 0x00007f45dfe2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #65 0x00007f45dfe2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #66 0x00007f45dfe2561d 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:26 #67 0x00007f45dfe7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #68 0x00007f45dfe7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #69 0x00007f45dfe7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #70 0x00007f45dfe7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #71 0x00007f45dfe7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #72 0x00007f45dfe7ecbc 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:0 #73 0x00007f45dfe7f767 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:0 #74 0x00007f45dfe9c6f1 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 #75 0x00007f45dfe9c6f1 clang::ento::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 #76 0x00007f45dfe9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #77 0x00007f45dfe9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #78 0x00007f45dfe3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #79 0x00007f45dfe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #80 0x00007f45dfe5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #81 0x00007f45e014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #82 0x00007f45e014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #83 0x00007f45e014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #84 0x00007f45e014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #85 0x00007f45e014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #86 0x00007f45e014e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #87 0x00007f45e014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #88 0x00007f45e014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #89 0x00007f45e0151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #90 0x00007f45e0151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #91 0x00007f45e0151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #92 0x00007f45e0151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #93 0x00007f45e0151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #94 0x00007f45de50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #95 0x00007f45de50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #96 0x00007f45de50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #97 0x00007f45de50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #98 0x00007f45dfc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #99 0x00007f45dfbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #100 0x00007f45dfbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #101 0x00007f45dfbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #102 0x00007f45dfc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #103 0x0000562eb291ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #104 0x0000562eb291f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #105 0x0000562eb2921440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #106 0x0000562eb2915903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #107 0x00007f45d683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #108 0x00007f45d683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #109 0x0000562eb2915945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.script: line 2: 556583 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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.cpp (902 of 19712) ******************** TEST 'Clang :: Analysis/malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa7d19d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa7d19ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa7d19d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa7d0a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa7da0ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa7da0ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa7da0ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa7da0ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fa7da0ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fa7da0ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fa7da06f34b 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 #11 0x00007fa7da06f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fa7da06f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fa7da06f34b 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:50 #14 0x00007fa7da09db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fa7da09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fa7da03f9ea 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 #17 0x00007fa7da03fb9e 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:223:0 #18 0x00007fa7da05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fa7da05109a clang::ento::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 0x00007fa7da34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fa7da34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fa7da34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fa7da34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fa7da34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fa7da34e0a7 llvm::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 0x00007fa7da34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fa7da34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fa7da351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fa7da351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fa7da351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fa7da351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fa7da351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fa7d870724a __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 0x00007fa7d870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fa7d870724a void clang::finalize>, 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 0x00007fa7d870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fa7d9e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fa7d9df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fa7d9df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fa7d9df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fa7d9e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055cbc6e5aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055cbc6e5e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055cbc6e60440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055cbc6e54903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fa7d0a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fa7d0a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055cbc6e54945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.cpp.script: line 4: 556650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/memory-model.cpp (903 of 19712) ******************** TEST 'Clang :: Analysis/memory-model.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0c19dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0c19dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0c19dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0c18e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0c2246efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f0c2246efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f0c2246efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f0c2246efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f0c2246efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f0c2246efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f0c2246efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f0c2246efd6 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 0x00007f0c2249db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f0c2249df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f0c2243fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f0c2245109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f0c2245109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f0c2274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f0c2274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f0c2274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f0c2274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f0c2274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f0c2274e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f0c2274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f0c2274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f0c22751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f0c22751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f0c22751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f0c22751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f0c22751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f0c20b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f0c20b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f0c20b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f0c20b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f0c22244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f0c221f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f0c221f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f0c221f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f0c222948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x0000563fffb0ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x0000563fffb1270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x0000563fffb14440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x0000563fffb08903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f0c18e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f0c18e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x0000563fffb08945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/memory-model.cpp.script: line 1: 556686 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc-static-storage.cpp (904 of 19712) ******************** TEST 'Clang :: Analysis/malloc-static-storage.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f50737d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f50737ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f50737d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5072854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f507c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f507c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f507c235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f507c235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f507c235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f507c235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f507c235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f507c235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f507bed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f507bed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f507bed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f507bed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f507bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f507bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f507bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f507bed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f507bed4c2b 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 #21 0x00007f507bed4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f507bed4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f507bed4c2b (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:31 #24 0x00007f507bed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f507bed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f507bed6cdb 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 #27 0x00007f507bed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f507bed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f507bed64ad 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 #30 0x00007f507bee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f507bee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f507bee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f507bee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f507bee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f507bee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f507bee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f507bee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f507bee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f507be3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f507be3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f507be3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f507be3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f507c386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f507c386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f507c386b68 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 #46 0x00007f507be6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f507be6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f507be6bf90 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 #49 0x00007f507be6bf90 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 #50 0x00007f507be6bf90 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 #51 0x00007f507be6bf90 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 #52 0x00007f507be6bf90 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 #53 0x00007f507be6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f507be6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f507be6bf90 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 #56 0x00007f507be3f21a 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:0 #57 0x00007f507be5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f507be5109a clang::ento::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 0x00007f507c14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f507c14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f507c14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f507c14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f507c14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f507c14e0a7 llvm::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 0x00007f507c14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f507c14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f507c151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f507c151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f507c151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f507c151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f507c151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f507a50724a __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 0x00007f507a50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f507a50724a void clang::finalize>, 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 0x00007f507a50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f507bc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f507bbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f507bbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f507bbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f507bc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056282bd71a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056282bd7570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056282bd77440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056282bd6b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f507283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f507283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056282bd6b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-static-storage.cpp.script: line 1: 556634 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-overflow2.c (905 of 19712) ******************** TEST 'Clang :: Analysis/malloc-overflow2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7a08bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7a08bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7a08bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7a07c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7a11614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7a11614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7a11614a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7a11614a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7a11614a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7a11614a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7a11614a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7a11614a5e (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 0x00007f7a113e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f7a113e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f7a113e8fd5 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 0x00007f7a1122397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f7a1122397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f7a1122397a 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:29 #18 0x00007f7a1122397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f7a112e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f7a112e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f7a112e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f7a112e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f7a112e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f7a112e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f7a112e9060 clang::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 0x00007f7a1123da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f7a1123da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f7a1123da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f7a1123da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f7a11786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f7a11786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f7a11786b68 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 0x00007f7a11415ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f7a11415ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f7a11415ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f7a11415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f7a11415ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f7a11415ff0 (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 0x00007f7a1141647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f7a1141647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f7a1141647b (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 0x00007f7a1141851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f7a1141851b 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 0x00007f7a1122561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f7a1122561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f7a1122561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f7a1122561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f7a1122561d 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:26 #49 0x00007f7a1127ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f7a1127ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f7a1127ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f7a1127ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f7a1127ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f7a1127ecbc 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:0 #55 0x00007f7a1127f767 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:0 #56 0x00007f7a1129c6f1 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 0x00007f7a1129c6f1 clang::ento::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 0x00007f7a1129dc4e clang::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 0x00007f7a1129df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7a1123fac2 clang::ento::CoreEngine::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 0x00007f7a1125109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f7a1125109a clang::ento::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 0x00007f7a1154c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f7a1154c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f7a1154c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f7a1154c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f7a1154c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f7a1154e0a7 llvm::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 0x00007f7a1154e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f7a1154e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f7a11551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f7a11551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f7a11551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f7a11551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f7a11551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f7a0f90724a __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 0x00007f7a0f90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f7a0f90724a void clang::finalize>, 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 0x00007f7a0f90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f7a11044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f7a10ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f7a10ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f7a10ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f7a110948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055654cf3fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055654cf4370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055654cf45440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055654cf39903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f7a07c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f7a07c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055654cf39945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-overflow2.c.script: line 2: 556616 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/method-call-intra-p.cpp (906 of 19712) ******************** TEST 'Clang :: Analysis/method-call-intra-p.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f0b2e7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0b2e7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0b2e7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0b2d854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0b36e6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f0b36e6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f0b36e6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f0b36e6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f0b36e6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f0b36e6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f0b36e6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f0b36e6efd6 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 0x00007f0b36e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f0b36e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f0b36e3f9ea 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 #15 0x00007f0b36e3fb9e 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:223:0 #16 0x00007f0b36e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f0b36e5109a clang::ento::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 0x00007f0b3714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f0b3714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f0b3714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f0b3714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f0b3714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f0b3714e0a7 llvm::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 0x00007f0b3714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f0b3714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f0b37151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f0b37151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f0b37151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f0b37151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f0b37151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f0b3550724a __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 0x00007f0b3550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f0b3550724a void clang::finalize>, 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 0x00007f0b3550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f0b36c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f0b36bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f0b36bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f0b36bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f0b36c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000056047afcca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000056047afd070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000056047afd2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000056047afc6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f0b2d83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f0b2d83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000056047afc6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-intra-p.cpp.script: line 1: 556705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/malloc-plist.c (907 of 19712) ******************** TEST 'Clang :: Analysis/malloc-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f45b0fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f45b0fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f45b0fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f45b0054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f45b9a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f45b9a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f45b9a14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f45b9a14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f45b9a14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f45b9a14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f45b9a14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f45b9a14a5e (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 0x00007f45b97e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f45b97e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f45b97e8fd5 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 0x00007f45b962397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f45b962397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f45b962397a 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:29 #18 0x00007f45b962397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f45b96e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f45b96e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f45b96e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f45b96e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f45b96e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f45b96e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f45b96e9060 clang::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 0x00007f45b963db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f45b963db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f45b963db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f45b963db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f45b9b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f45b9b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f45b9b86b68 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 0x00007f45b9815ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f45b9815ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f45b9815ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f45b9815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f45b9815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f45b9815ff0 (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 0x00007f45b981647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f45b981647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f45b981647b (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 0x00007f45b981851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f45b981851b 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 0x00007f45b962561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f45b962561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f45b962561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f45b962561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f45b962561d 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:26 #49 0x00007f45b967ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f45b967ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f45b967ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f45b967ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f45b967ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f45b967ecbc 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:0 #55 0x00007f45b967f767 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:0 #56 0x00007f45b969c6f1 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 0x00007f45b969c6f1 clang::ento::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 0x00007f45b969dc4e clang::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 0x00007f45b969df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f45b963fac2 clang::ento::CoreEngine::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 0x00007f45b965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f45b965109a clang::ento::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 0x00007f45b994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f45b994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f45b994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f45b994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f45b994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f45b994e0a7 llvm::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 0x00007f45b994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f45b994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f45b9951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f45b9951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f45b9951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f45b9951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f45b9951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f45b7d0724a __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 0x00007f45b7d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f45b7d0724a void clang::finalize>, 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 0x00007f45b7d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f45b9444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f45b93f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f45b93f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f45b93f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f45b94948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055eb148cda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055eb148d170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055eb148d3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055eb148c7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f45b003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f45b003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055eb148c7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.script: line 3: 556622 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/member-expr.cpp (908 of 19712) ******************** TEST 'Clang :: Analysis/member-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff593fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff593fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff593fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff593054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff59ca35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff59ca35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff59ca35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff59ca35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff59ca35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff59ca35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff59ca35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff59ca35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff59c6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff59c6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff59c6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff59c6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff59c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff59c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff59c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff59c6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff59c6d4e65 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 #21 0x00007ff59c6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff59c6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff59c6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff59c6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff59c6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff59c6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff59c6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff59c6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff59c6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff59c6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff59c6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff59c6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff59c6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff59c6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff59c6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff59c6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff59c6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff59c6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff59c63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff59c63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff59c63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff59c63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff59c63df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff59c63df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff59c63df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff59c60953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff59c60953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff59c60953e 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 #49 0x00007ff59c650e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff59c650e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff59c650e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ff59c65149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff59c65149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff59c65149e 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 #55 0x00007ff59c94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff59c94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff59c94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff59c94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff59c94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff59c94e0a7 llvm::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 0x00007ff59c94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff59c94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff59c951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff59c951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff59c951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff59c951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff59c951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff59ad0724a __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 0x00007ff59ad0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff59ad0724a void clang::finalize>, 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 0x00007ff59ad0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff59c444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff59c3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff59c3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff59c3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff59c4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005563dfbf1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005563dfbf570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005563dfbf7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005563dfbeb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007ff59303ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007ff59303f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005563dfbeb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/member-expr.cpp.script: line 1: 556684 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc.mm (909 of 19712) ******************** TEST 'Clang :: Analysis/malloc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb04b1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb04b1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb04b1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb04a254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb053c14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb053c14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb053c14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb053c14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb053c14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb053c14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb053c14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb053c14a5e (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 0x00007fb0539e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fb0539e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fb0539e8fd5 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 0x00007fb05382397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fb05382397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fb05382397a 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:29 #18 0x00007fb05382397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fb0538e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fb0538e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fb0538e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fb0538e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fb0538e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fb0538e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fb0538e9060 clang::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 0x00007fb05383db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fb05383db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fb05383db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fb05383db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fb053d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fb053d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fb053d86b68 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 0x00007fb053a15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fb053a15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fb053a15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fb053a15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fb053a15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fb053a15ff0 (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 0x00007fb053a1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fb053a1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fb053a1647b (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 0x00007fb053a1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007fb053a1851b 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 0x00007fb05382561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fb05382561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fb05382561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fb05382561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fb05382561d 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:26 #49 0x00007fb05387ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fb05387ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fb05387ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fb05387ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fb05387ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fb05387ecbc 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:0 #55 0x00007fb05387f767 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:0 #56 0x00007fb05389c6f1 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 0x00007fb05389c6f1 clang::ento::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 0x00007fb05389dc4e clang::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 0x00007fb05389df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fb05383fac2 clang::ento::CoreEngine::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 0x00007fb05385109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fb05385109a clang::ento::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 0x00007fb053b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fb053b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fb053b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fb053b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fb053b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fb053b4e0a7 llvm::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 0x00007fb053b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fb053b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fb053b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fb053b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fb053b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fb053b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fb053b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fb051f0724a __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 0x00007fb051f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fb051f0724a void clang::finalize>, 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 0x00007fb051f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fb053644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fb0535f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fb0535f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fb0535f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fb0536948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x00005586c6783a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x00005586c678770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x00005586c6789440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x00005586c677d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fb04a23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fb04a23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x00005586c677d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.mm.script: line 1: 556658 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (910 of 19712) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6517fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6517fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6517fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6517054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6520a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6520a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6520a14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6520a14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6520a14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6520a14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6520a14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6520a14a5e (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 0x00007f65207e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f65207e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f65207e8fd5 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 0x00007f652062397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f652062397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f652062397a 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:29 #18 0x00007f652062397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f65206e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f65206e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f65206e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f65206e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f65206e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f65206e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f65206e9060 clang::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 0x00007f652063db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f652063db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f652063db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f652063db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f6520b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f6520b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f6520b86b68 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 0x00007f6520815ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f6520815ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f6520815ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f6520815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f6520815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f6520815ff0 (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 0x00007f652081647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f652081647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f652081647b (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 0x00007f652081851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f652081851b 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 0x00007f652062561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f652062561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f652062561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f652062561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f652062561d 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:26 #49 0x00007f652067ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f652067ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f652067ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f652067ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f652067ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f652067ecbc 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:0 #55 0x00007f652067f767 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:0 #56 0x00007f652069c6f1 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 0x00007f652069c6f1 clang::ento::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 0x00007f652069dc4e clang::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 0x00007f652069df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f652063fac2 clang::ento::CoreEngine::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 0x00007f652065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f652065109a clang::ento::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 0x00007f652094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f652094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f652094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f652094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f652094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f652094e0a7 llvm::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 0x00007f652094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f652094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f6520951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f6520951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f6520951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f6520951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f6520951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f651ed0724a __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 0x00007f651ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f651ed0724a void clang::finalize>, 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 0x00007f651ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f6520444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f65203f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f65203f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f65203f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f65204948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x00005636ac32aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x00005636ac32e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x00005636ac330440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x00005636ac324903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f651703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f651703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x00005636ac324945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.c.script: line 1: 556663 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/method-call.cpp (911 of 19712) ******************** TEST 'Clang :: Analysis/method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3e123d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3e123ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3e123d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3e11454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3e1aa7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f3e1aa7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3e1aa7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3e1aa7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f3e1aa7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f3e1aa7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f3e1aa7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f3e1aa7d99e 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 0x00007f3e1aa3ed11 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 0x00007f3e1aa3fc1e 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 0x00007f3e1aa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f3e1aa5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f3e1ad4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f3e1ad4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f3e1ad4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f3e1ad4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f3e1ad4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f3e1ad4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f3e1ad4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f3e1ad4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f3e1ad51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f3e1ad51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f3e1ad51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f3e1ad51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f3e1ad51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f3e1910724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f3e1910724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f3e1910724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f3e1910724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f3e1a844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f3e1a7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f3e1a7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f3e1a7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f3e1a8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x00005595e50fca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x00005595e510070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x00005595e5102440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x00005595e50f6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f3e1143ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f3e1143f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x00005595e50f6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call.cpp.script: line 1: 556728 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc.m (912 of 19712) ******************** TEST 'Clang :: Analysis/malloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4423dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4423dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4423dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4422e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f442c814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f442c814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f442c814a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f442c814a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f442c814a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f442c814a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f442c814a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f442c814a5e (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 0x00007f442c5e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f442c5e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f442c5e8fd5 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 0x00007f442c42397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f442c42397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f442c42397a 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:29 #18 0x00007f442c42397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f442c4e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f442c4e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f442c4e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f442c4e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f442c4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f442c4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f442c4e9060 clang::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 0x00007f442c43db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f442c43db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f442c43db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f442c43db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f442c986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f442c986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f442c986b68 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 0x00007f442c615ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f442c615ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f442c615ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f442c615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f442c615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f442c615ff0 (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 0x00007f442c61647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f442c61647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f442c61647b (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 0x00007f442c61851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f442c61851b 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 0x00007f442c42561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f442c42561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f442c42561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f442c42561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f442c42561d 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:26 #49 0x00007f442c47ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f442c47ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f442c47ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f442c47ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f442c47ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f442c47ecbc 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:0 #55 0x00007f442c47f767 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:0 #56 0x00007f442c49c6f1 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 0x00007f442c49c6f1 clang::ento::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 0x00007f442c49dc4e clang::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 0x00007f442c49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f442c43fac2 clang::ento::CoreEngine::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 0x00007f442c45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f442c45109a clang::ento::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 0x00007f442c74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f442c74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f442c74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f442c74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f442c74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f442c74e0a7 llvm::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 0x00007f442c74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f442c74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f442c751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f442c751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f442c751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f442c751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f442c751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f442ab0724a __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 0x00007f442ab0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f442ab0724a void clang::finalize>, 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 0x00007f442ab0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f442c244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f442c1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f442c1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f442c1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f442c2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055fc7f10da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055fc7f11170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055fc7f113440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055fc7f107903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f4422e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f4422e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055fc7f107945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.m.script: line 1: 556653 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/method-call-path-notes.cpp (913 of 19712) ******************** TEST 'Clang :: Analysis/method-call-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fe49abd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe49abceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe49abd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe499c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe4a3635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe4a3635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe4a3635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe4a3635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe4a3635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe4a3635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe4a3635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe4a3635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe4a32d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe4a32d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe4a32d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe4a32d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe4a32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe4a32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe4a32d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe4a32d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe4a32d4e65 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 #21 0x00007fe4a32d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe4a32d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe4a32d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe4a32b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe4a32b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe4a32b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe4a32d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe4a32d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe4a32d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe4a32e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe4a32e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe4a32e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe4a32e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe4a32e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe4a32e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe4a32e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe4a32e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe4a32e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe4a323da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe4a323da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe4a323da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe4a323da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe4a3786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe4a3786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe4a3786b68 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 #46 0x00007fe4a3269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fe4a3269db3 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 #48 0x00007fe4a3269db3 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 #49 0x00007fe4a329d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fe4a329d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fe4a329d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fe4a329d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fe4a329d93e clang::ento::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 #54 0x00007fe4a329dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fe4a329df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fe4a323fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fe4a325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe4a325109a clang::ento::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 0x00007fe4a354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe4a354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe4a354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe4a354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe4a354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe4a354e0a7 llvm::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 0x00007fe4a354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe4a354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe4a3551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe4a3551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe4a3551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe4a3551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe4a3551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe4a190724a __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 0x00007fe4a190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe4a190724a void clang::finalize>, 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 0x00007fe4a190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe4a3044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe4a2ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe4a2ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe4a2ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe4a30948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561c164bfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561c164c370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561c164c5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561c164b9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe499c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe499c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561c164b9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.script: line 3: 556712 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/malloc.c (914 of 19712) ******************** TEST 'Clang :: Analysis/malloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4d201d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4d201ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4d201d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4d1f254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4d28c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4d28c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4d28c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4d28c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4d28c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4d28c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4d28c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4d28c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4d288d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4d288d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4d288d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4d288d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4d288d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4d288d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4d288d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4d288d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4d288d4e65 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 #21 0x00007f4d288d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4d288d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4d288d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4d288b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4d288b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4d288b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4d288d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4d288d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4d288d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4d288e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4d288e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4d288e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4d288e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4d288e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4d288e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4d288e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4d288e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4d288e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4d2883da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4d2883da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4d2883da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4d2883da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4d28d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4d28d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4d28d86b68 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 #46 0x00007f4d28a15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f4d28a15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f4d28a15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f4d28a15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f4d28a15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f4d28a15ff0 (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 #52 0x00007f4d28a1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #53 0x00007f4d28a1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4d28a1647b (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 #55 0x00007f4d28a1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #56 0x00007f4d28a1851b 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 #57 0x00007f4d2882561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x00007f4d2882561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f4d2882561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x00007f4d2882561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x00007f4d2882561d 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:26 #62 0x00007f4d2887ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #63 0x00007f4d2887ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #64 0x00007f4d2887ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #65 0x00007f4d2887ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #66 0x00007f4d2887ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #67 0x00007f4d2887ecbc 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:0 #68 0x00007f4d2887f767 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:0 #69 0x00007f4d2889c6f1 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 #70 0x00007f4d2889c6f1 clang::ento::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 #71 0x00007f4d2889dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #72 0x00007f4d2889df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #73 0x00007f4d2883fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #74 0x00007f4d2885109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #75 0x00007f4d2885109a clang::ento::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 0x00007f4d28b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #77 0x00007f4d28b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #78 0x00007f4d28b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #79 0x00007f4d28b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #80 0x00007f4d28b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #81 0x00007f4d28b4e0a7 llvm::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 0x00007f4d28b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x00007f4d28b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #84 0x00007f4d28b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x00007f4d28b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x00007f4d28b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x00007f4d28b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x00007f4d28b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x00007f4d26f0724a __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 0x00007f4d26f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x00007f4d26f0724a void clang::finalize>, 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 0x00007f4d26f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x00007f4d28644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #94 0x00007f4d285f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #95 0x00007f4d285f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #96 0x00007f4d285f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #97 0x00007f4d286948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #98 0x0000560f5212ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000560f5212f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000560f52131440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000560f52125903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x00007f4d1f23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #103 0x00007f4d1f23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #104 0x0000560f52125945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.c.script: line 1: 556644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/max-nodes-suppress-on-sink.cpp (915 of 19712) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe949dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe949dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe949dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe948e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe952814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe952814a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe952814a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe952814a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe952814a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe952814a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe952814a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe952814a5e (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 0x00007fe9525e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fe9525e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fe9525e8fd5 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 0x00007fe95242397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fe95242397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fe95242397a 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:29 #18 0x00007fe95242397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007fe9524e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fe9524e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fe9524e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007fe9524e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007fe9524e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007fe9524e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007fe9524e9060 clang::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 0x00007fe95243db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fe95243db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fe95243db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007fe95243db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007fe952986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fe952986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fe952986b68 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 0x00007fe952615ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007fe952615ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007fe952615ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007fe952615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007fe952615ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007fe952615ff0 (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 0x00007fe95261647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007fe95261647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007fe95261647b (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 0x00007fe95261851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007fe95261851b 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 0x00007fe95242561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007fe95242561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007fe95242561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007fe95242561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007fe95242561d 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:26 #49 0x00007fe95247ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007fe95247ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007fe95247ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007fe95247ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007fe95247ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007fe95247ecbc 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:0 #55 0x00007fe95247f767 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:0 #56 0x00007fe95249c6f1 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 0x00007fe95249c6f1 clang::ento::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 0x00007fe95249dc4e clang::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 0x00007fe95249df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe95243fac2 clang::ento::CoreEngine::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 0x00007fe95245109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007fe95245109a clang::ento::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 0x00007fe95274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007fe95274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007fe95274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007fe95274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007fe95274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007fe95274e0a7 llvm::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 0x00007fe95274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007fe95274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007fe952751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007fe952751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007fe952751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007fe952751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007fe952751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007fe950b0724a __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 0x00007fe950b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007fe950b0724a void clang::finalize>, 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 0x00007fe950b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007fe952244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007fe9521f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007fe9521f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007fe9521f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007fe9522948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055c35e6dda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055c35e6e170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055c35e6e3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055c35e6d7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007fe948e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007fe948e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055c35e6d7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.cpp.script: line 1: 556676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/mig.mm (917 of 19712) ******************** TEST 'Clang :: Analysis/mig.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f65891d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f65891ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f65891d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6588254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6591a2599e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6591a2599e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6591a2599e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6591a2599e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6591a2599e llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007f6591a2599e 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 0x00007f6591a2599e contains<(anonymous namespace)::RefCountedParameters> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x00007f6591a2599e checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp:212:0 #12 0x00007f6591a2599e 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 0x00007f659182561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #14 0x00007f659182561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f659182561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #16 0x00007f659182561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #17 0x00007f659182561d 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:26 #18 0x00007f659187ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #19 0x00007f659187ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #20 0x00007f659187ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #21 0x00007f659187ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #22 0x00007f659187ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #23 0x00007f659187ecbc 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:0 #24 0x00007f659187f767 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:0 #25 0x00007f659189c6f1 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 0x00007f659189c6f1 clang::ento::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 0x00007f659189dc4e clang::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 0x00007f659189df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f659183fac2 clang::ento::CoreEngine::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 0x00007f659185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007f659185109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007f6591b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f6591b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f6591b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007f6591b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007f6591b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007f6591b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007f6591b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007f6591b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007f6591b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007f6591b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007f6591b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007f6591b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007f6591b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007f658ff0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007f658ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007f658ff0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007f658ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007f6591644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007f65915f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007f65915f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007f65915f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007f65916948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x000055ebd495ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x000055ebd496070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x000055ebd4962440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x000055ebd4956903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007f658823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007f658823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x000055ebd4956945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/mig.mm.script: line 1: 556743 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-region-store.mm (918 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff9fb3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff9fb3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff9fb3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff9fa454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffa03a6bc7e llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007ffa03a6bc7e llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ffa03a6bc7e llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ffa03a6bc7e llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ffa03a6bc7e llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ffa03a6bc7e 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 0x00007ffa03a6bc7e get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007ffa03a6bc7e 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 0x00007ffa03a6bc7e assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2691:37 #13 0x00007ffa03a6bc7e 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 0x00007ffa03a3f21a 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:0 #15 0x00007ffa03a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007ffa03a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007ffa03d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007ffa03d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007ffa03d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007ffa03d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007ffa03d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007ffa03d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007ffa03d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007ffa03d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007ffa03d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007ffa03d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007ffa03d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007ffa03d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007ffa03d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007ffa0210724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007ffa0210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007ffa0210724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007ffa0210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007ffa03844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007ffa037f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007ffa037f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007ffa037f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007ffa038948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000055ee24c98a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000055ee24c9c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000055ee24c9e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000055ee24c92903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007ff9fa43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007ff9fa43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x000055ee24c92945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.mm.script: line 2: 556804 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-64.m (919 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-64.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc85b9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc85b9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc85b9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc85aa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc864435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc864435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc864435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc864435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc864435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc864435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc864435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc864435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc8640d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc8640d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc8640d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc8640d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc8640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc8640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc8640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc8640d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc8640d4e65 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 #21 0x00007fc8640d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc8640d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc8640d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc8640b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc8640b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc8640b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc8640d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc8640d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc8640d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc8640e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc8640e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc8640e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc8640e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc8640e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc8640e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc8640e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc8640e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc8640e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc86403da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc86403da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc86403da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc86403da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc864586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fc864586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fc864586b68 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 #46 0x00007fc864069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fc864069db3 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 #48 0x00007fc864069db3 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 #49 0x00007fc86409d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fc86409d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fc86409d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fc86409d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fc86409d93e clang::ento::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 #54 0x00007fc86409dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fc86409df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fc86403fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fc86405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fc86405109a clang::ento::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 0x00007fc86434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fc86434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fc86434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fc86434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fc86434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fc86434e0a7 llvm::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 0x00007fc86434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fc86434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fc864351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fc864351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fc864351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fc864351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fc864351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fc86270724a __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 0x00007fc86270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fc86270724a void clang::finalize>, 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 0x00007fc86270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fc863e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fc863df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fc863df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fc863df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fc863e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055fe8e3e1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055fe8e3e570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055fe8e3e7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055fe8e3db903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fc85aa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fc85aa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055fe8e3db945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-64.m.script: line 1: 556748 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (920 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-cxx0x.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fafab3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fafab3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fafab3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fafaa454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fafb3e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fafb3e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fafb3e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fafb3e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fafb3e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fafb3e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fafb3e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fafb3e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fafb3ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fafb3ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fafb3ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fafb3ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fafb3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fafb3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fafb3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fafb3ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fafb3ad4e65 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 #21 0x00007fafb3ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fafb3ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fafb3ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fafb3ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fafb3ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fafb3ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fafb3ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fafb3ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fafb3ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fafb3ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fafb3ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fafb3ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fafb3ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fafb3ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fafb3ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fafb3ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fafb3ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fafb3ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fafb3a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fafb3a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fafb3a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fafb3a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fafb3a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fafb3a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fafb3a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fafb3a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fafb3a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fafb3a0953e 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 #49 0x00007fafb3a50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fafb3a50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fafb3a50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fafb3a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fafb3a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fafb3a5149e 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 #55 0x00007fafb3d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fafb3d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fafb3d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fafb3d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fafb3d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fafb3d4e0a7 llvm::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 0x00007fafb3d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fafb3d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fafb3d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fafb3d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fafb3d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fafb3d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fafb3d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fafb210724a __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 0x00007fafb210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fafb210724a void clang::finalize>, 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 0x00007fafb210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fafb3844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fafb37f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fafb37f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fafb37f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fafb38948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055f090067a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055f09006b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055f09006d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055f090061903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fafaa43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fafaa43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055f090061945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-cxx0x.cpp.script: line 1: 556762 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (921 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-ranges.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fef0afd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fef0afceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fef0afd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fef0a054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fef136ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fef136ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fef136ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fef136ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fef136ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fef136ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fef1366f34b 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 #11 0x00007fef1366f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fef1366f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fef1366f34b 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:50 #14 0x00007fef1369db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fef1369df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fef1363f9ea 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 #17 0x00007fef1363fb9e 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:223:0 #18 0x00007fef1365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fef1365109a clang::ento::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 0x00007fef1394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fef1394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fef1394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fef1394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fef1394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fef1394e0a7 llvm::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 0x00007fef1394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fef1394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fef13951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fef13951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fef13951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fef13951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fef13951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fef11d0724a __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 0x00007fef11d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fef11d0724a void clang::finalize>, 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 0x00007fef11d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fef13444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fef133f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fef133f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fef133f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fef134948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055debb15ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055debb16070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055debb162440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055debb156903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fef0a03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fef0a03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055debb156945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-ranges.m.script: line 1: 556777 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (922 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-eager-assume.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0c3a7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0c3a7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0c3a7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0c39854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0c43235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0c43235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0c43235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0c43235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0c43235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0c43235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0c43235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0c43235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0c42ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0c42ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0c42ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0c42ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0c42ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0c42ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0c42ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0c42ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0c42ed4e65 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 #21 0x00007f0c42ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0c42ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0c42ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0c42eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0c42eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0c42eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0c42ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0c42ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0c42ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0c42ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0c42ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0c42ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0c42ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0c42ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0c42ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0c42ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0c42ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0c42ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0c42e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0c42e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0c42e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0c42e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0c43386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f0c43386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f0c43386b68 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 #46 0x00007f0c42e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f0c42e69db3 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 #48 0x00007f0c42e69db3 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 #49 0x00007f0c42e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f0c42e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f0c42e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f0c42e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f0c42e9d93e clang::ento::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 #54 0x00007f0c42e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f0c42e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f0c42e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f0c42e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f0c42e5109a clang::ento::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 0x00007f0c4314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f0c4314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f0c4314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f0c4314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f0c4314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f0c4314e0a7 llvm::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 0x00007f0c4314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f0c4314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f0c43151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f0c43151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f0c43151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f0c43151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f0c43151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f0c4150724a __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 0x00007f0c4150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f0c4150724a void clang::finalize>, 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 0x00007f0c4150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f0c42c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f0c42bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f0c42bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f0c42bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f0c42c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561a93548a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561a9354c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561a9354e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561a93542903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f0c3983ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f0c3983f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561a93542945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-eager-assume.m.script: line 1: 556767 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (923 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fea8f9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fea8f9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fea8f9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fea8ea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fea98435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fea98435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fea98435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fea98435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fea98435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fea98435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fea98435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fea98435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fea980d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fea980d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fea980d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fea980d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fea980d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fea980d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fea980d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fea980d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fea980d4e65 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 #21 0x00007fea980d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fea980d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fea980d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fea980b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fea980b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fea980b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fea980d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fea980d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fea980d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fea980e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fea980e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fea980e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fea980e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fea980e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fea980e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fea980e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fea980e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fea980e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fea9803da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fea9803da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fea9803da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fea9803da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fea98586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fea98586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fea98586b68 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 #46 0x00007fea98069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fea98069db3 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 #48 0x00007fea98069db3 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 #49 0x00007fea9809d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fea9809d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fea9809d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fea9809d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fea9809d93e clang::ento::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 #54 0x00007fea9809dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fea9809df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fea9803fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fea9805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fea9805109a clang::ento::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 0x00007fea9834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fea9834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fea9834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fea9834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fea9834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fea9834e0a7 llvm::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 0x00007fea9834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fea9834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fea98351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fea98351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fea98351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fea98351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fea98351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fea9670724a __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 0x00007fea9670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fea9670724a void clang::finalize>, 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 0x00007fea9670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fea97e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fea97df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fea97df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fea97df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fea97e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000555dac27fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000555dac28370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000555dac285440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000555dac279903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fea8ea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fea8ea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000555dac279945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.c.script: line 1: 556807 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/misc-ps-region-store.cpp (924 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb8c2bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb8c2bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb8c2bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb8c1c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb8cb635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb8cb635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb8cb635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb8cb635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb8cb635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb8cb635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb8cb635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb8cb635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb8cb2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb8cb2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb8cb2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb8cb2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb8cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb8cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb8cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb8cb2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb8cb2d4e65 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 #21 0x00007fb8cb2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb8cb2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb8cb2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb8cb2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb8cb2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb8cb2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb8cb2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb8cb2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb8cb2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb8cb2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb8cb2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb8cb2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb8cb2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb8cb2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb8cb2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb8cb2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb8cb2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb8cb2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb8cb23da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb8cb23da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb8cb23da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb8cb23da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb8cb786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb8cb786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb8cb786b68 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 #46 0x00007fb8cb269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb8cb269db3 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 #48 0x00007fb8cb269db3 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 #49 0x00007fb8cb29d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fb8cb29d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fb8cb29d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fb8cb29d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fb8cb29d93e clang::ento::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 #54 0x00007fb8cb29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fb8cb29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fb8cb23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fb8cb25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb8cb25109a clang::ento::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 0x00007fb8cb54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb8cb54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb8cb54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb8cb54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb8cb54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb8cb54e0a7 llvm::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 0x00007fb8cb54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb8cb54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb8cb551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb8cb551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb8cb551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb8cb551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb8cb551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb8c990724a __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 0x00007fb8c990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb8c990724a void clang::finalize>, 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 0x00007fb8c990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb8cb044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb8caff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb8caff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb8caff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb8cb0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d3cf193a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d3cf19770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d3cf199440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d3cf18d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb8c1c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb8c1c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d3cf18d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.cpp.script: line 2: 556801 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (925 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb5491d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb5491ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb5491d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb548254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb551c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb551c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb551c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb551c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb551c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb551c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb551c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb551c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb5518d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb5518d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb5518d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb5518d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb5518d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb5518d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb5518d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb5518d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb5518d4e65 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 #21 0x00007fb5518d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb5518d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb5518d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb5518b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb5518b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb5518b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb5518d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb5518d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb5518d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb5518e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb5518e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb5518e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb5518e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb5518e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb5518e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb5518e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb5518e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb5518e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb55183da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb55183da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb55183da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb55183da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb551d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb551d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb551d86b68 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 #46 0x00007fb551869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb551869db3 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 #48 0x00007fb551869db3 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 #49 0x00007fb55189d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fb55189d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fb55189d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fb55189d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fb55189d93e clang::ento::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 #54 0x00007fb55189dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fb55189df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fb55183fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fb55185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb55185109a clang::ento::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 0x00007fb551b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb551b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb551b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb551b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb551b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb551b4e0a7 llvm::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 0x00007fb551b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb551b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb551b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb551b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb551b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb551b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb551b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb54ff0724a __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 0x00007fb54ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb54ff0724a void clang::finalize>, 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 0x00007fb54ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb551644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb5515f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb5515f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb5515f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb5516948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561909fa8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000561909fac70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000561909fae440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561909fa2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb54823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb54823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561909fa2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.m.script: line 2: 556805 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.m (927 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f71d0bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f71d0bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f71d0bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f71cfc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f71d9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f71d9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f71d9635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f71d9635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f71d9635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f71d9635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f71d9635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f71d9635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f71d92d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f71d92d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f71d92d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f71d92d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f71d92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f71d92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f71d92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f71d92d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f71d92d4e65 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 #21 0x00007f71d92d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f71d92d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f71d92d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f71d92b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f71d92b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f71d92b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f71d92d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f71d92d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f71d92d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f71d92e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f71d92e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f71d92e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f71d92e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f71d92e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f71d92e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f71d92e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f71d92e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f71d92e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f71d923da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f71d923da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f71d923da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f71d923da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f71d9786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f71d9786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f71d9786b68 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 #46 0x00007f71d926bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f71d926bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f71d926bf90 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 #49 0x00007f71d926bf90 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 #50 0x00007f71d926bf90 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 #51 0x00007f71d926bf90 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 #52 0x00007f71d926bf90 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 #53 0x00007f71d926bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f71d926bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f71d926bf90 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 #56 0x00007f71d923f21a 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:0 #57 0x00007f71d925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f71d925109a clang::ento::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 0x00007f71d954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f71d954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f71d954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f71d954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f71d954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f71d954e0a7 llvm::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 0x00007f71d954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f71d954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f71d9551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f71d9551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f71d9551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f71d9551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f71d9551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f71d790724a __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 0x00007f71d790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f71d790724a void clang::finalize>, 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 0x00007f71d790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f71d9044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f71d8ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f71d8ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f71d8ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f71d90948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e442d63a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e442d6770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e442d69440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e442d5d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f71cfc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f71cfc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e442d5d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.m.script: line 2: 556819 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/missing-bind-temporary.cpp (928 of 19712) ******************** TEST 'Clang :: Analysis/missing-bind-temporary.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f18c25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f18c25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f18c25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f18c1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f18cac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f18cac6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f18cac6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f18cac6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f18cac6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f18cac6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f18cac6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f18cac6efd6 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 0x00007f18cac9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f18cac9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f18cac3f9ea 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 #15 0x00007f18cac3fb9e 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:223:0 #16 0x00007f18cac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f18cac5109a clang::ento::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 0x00007f18caf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f18caf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f18caf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f18caf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f18caf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f18caf4e0a7 llvm::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 0x00007f18caf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f18caf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f18caf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f18caf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f18caf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f18caf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f18caf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f18c930724a __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 0x00007f18c930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f18c930724a void clang::finalize>, 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 0x00007f18c930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f18caa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f18ca9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f18ca9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f18ca9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f18caa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055bd3aac9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055bd3aacd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055bd3aacf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055bd3aac3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f18c163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f18c163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055bd3aac3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.script: line 3: 556836 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/mismatched-iterator.cpp (930 of 19712) ******************** TEST 'Clang :: Analysis/mismatched-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f02cc9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f02cc9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f02cc9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f02cba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f02d50c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f02d50c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f02d50c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f02d50c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f02d50c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f02d50c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f02d50c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f02d50c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f02d50c6be6 (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 0x00007f02d50c7048 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 #14 0x00007f02d50c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f02d50c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f02d50c7048 (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 #17 0x00007f02d50ecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f02d50ecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f02d50ecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f02d50ecee7 (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 #21 0x00007f02d50eca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007f02d50eca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007f02d50eca64 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 #24 0x00007f02d553bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007f02d553bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007f02d553bf33 (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 #27 0x00007f02d50b4298 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 #28 0x00007f02d50b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007f02d50b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f02d50b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007f02d50b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007f02d50b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007f02d50b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007f02d50b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007f02d50d62c8 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 #36 0x00007f02d50d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007f02d50d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007f02d50d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007f02d50d63a7 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 #40 0x00007f02d50d63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007f02d50d63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f02d50d63a7 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 #43 0x00007f02d50e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f02d50e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f02d50e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007f02d50e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007f02d50e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007f02d50e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007f02d50e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007f02d50e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007f02d50e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007f02d503da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f02d503da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f02d503da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007f02d503da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007f02d503df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f02d503df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f02d503df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007f02d500953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f02d500953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f02d500953e 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 #62 0x00007f02d5194b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007f02d5194b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007f02d5194b85 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:42 #65 0x00007f02d5158181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007f02d5158181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007f02d5158181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007f02d5158181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007f02d5158181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007f02d5158181 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:46 #71 0x00007f02d502561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007f02d502561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007f02d502561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007f02d502561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007f02d502561d 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:26 #76 0x00007f02d507ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007f02d507ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007f02d507ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007f02d507ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007f02d507ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007f02d507ecbc 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:0 #82 0x00007f02d507f767 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:0 #83 0x00007f02d509c6f1 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 #84 0x00007f02d509c6f1 clang::ento::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 #85 0x00007f02d509dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007f02d509df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007f02d503fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007f02d505109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007f02d505109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007f02d534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007f02d534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007f02d534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007f02d534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007f02d534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007f02d534e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007f02d534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007f02d534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007f02d5351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007f02d5351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007f02d5351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007f02d5351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007f02d5351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007f02d370724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007f02d370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007f02d370724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007f02d370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007f02d4e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007f02d4df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007f02d4df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007f02d4df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007f02d4e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x000055a520939a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x000055a52093d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x000055a52093f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x000055a520933903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007f02cba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007f02cba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x000055a520933945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/mismatched-iterator.cpp.script: line 2: 556826 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (931 of 19712) ******************** TEST 'Clang :: Analysis/model-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f96d6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f96d6dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f96d6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f96d5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f96df835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f96df835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f96df835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f96df835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f96df835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f96df835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f96df835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f96df835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f96df4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f96df4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f96df4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f96df4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f96df4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f96df4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f96df4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f96df4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f96df4d4c2b 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 #21 0x00007f96df4d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f96df4d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f96df4d4c2b (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:31 #24 0x00007f96df4d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f96df4d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f96df4d6cdb 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 #27 0x00007f96df4d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f96df4d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f96df4d64ad 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 #30 0x00007f96df4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f96df4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f96df4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f96df4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f96df4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f96df4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f96df4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f96df4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f96df4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f96df43da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f96df43da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f96df43da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f96df43da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f96df986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f96df986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f96df986b68 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 #46 0x00007f96df46bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f96df46bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f96df46bf90 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 #49 0x00007f96df46bf90 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 #50 0x00007f96df46bf90 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 #51 0x00007f96df46bf90 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 #52 0x00007f96df46bf90 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 #53 0x00007f96df46bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f96df46bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f96df46bf90 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 #56 0x00007f96df43f21a 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:0 #57 0x00007f96df45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f96df45109a clang::ento::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 0x00007f96df74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f96df74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f96df74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f96df74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f96df74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f96df74e0a7 llvm::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 0x00007f96df74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f96df74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f96df751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f96df751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f96df751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f96df751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f96df751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f96ddb0724a __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 0x00007f96ddb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f96ddb0724a void clang::finalize>, 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 0x00007f96ddb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f96df244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f96df1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f96df1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f96df1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f96df2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d2c7c86a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d2c7c8a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d2c7c8c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d2c7c80903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f96d5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f96d5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d2c7c80945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.script: line 2: 556852 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpichecker.cpp (932 of 19712) ******************** TEST 'Clang :: Analysis/mpichecker.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0353fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0353fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0353fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0353054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f035c84147e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f035c84147e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f035c84147e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f035c84147e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f035c84147e llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f035c84147e 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 0x00007f035c84147e 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:84 #11 0x00007f035c84147e 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:49 #12 0x00007f035c61bfa7 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 0x00007f035c66f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f035c66f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f035c66f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f035c66f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f035c66f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f035c66f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f035c66f23c 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 0x00007f035c69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f035c69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f035c63fac2 clang::ento::CoreEngine::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 0x00007f035c65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f035c65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f035c94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f035c94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f035c94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f035c94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f035c94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f035c94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f035c94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f035c94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f035c951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f035c951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f035c951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f035c951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f035c951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f035ad0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f035ad0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f035ad0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f035ad0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f035c444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f035c3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f035c3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f035c3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f035c4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055a44df0da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055a44df1170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055a44df13440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055a44df07903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f035303ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f035303f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055a44df07945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpichecker.cpp.script: line 1: 556889 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/mpicheckernotes.cpp (933 of 19712) ******************** TEST 'Clang :: Analysis/mpicheckernotes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f023abd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f023abceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f023abd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0239c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f024344147e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f024344147e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f024344147e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f024344147e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f024344147e llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f024344147e 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 0x00007f024344147e 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:84 #11 0x00007f024344147e 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:49 #12 0x00007f024321bfa7 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 0x00007f024326f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f024326f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f024326f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f024326f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f024326f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f024326f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f024326f23c 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 0x00007f024329db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f024329df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f024323fac2 clang::ento::CoreEngine::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 0x00007f024325109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f024325109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f024354c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f024354c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f024354c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f024354c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f024354c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f024354e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f024354e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f024354e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f0243551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f0243551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f0243551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f0243551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f0243551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f024190724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f024190724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f024190724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f024190724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f0243044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f0242ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f0242ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f0242ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f02430948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055e395110a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055e39511470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055e395116440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055e39510a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f0239c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f0239c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055e39510a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpicheckernotes.cpp.script: line 1: 556892 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/new-ctor-inlined.cpp (934 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-inlined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f363a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f363a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f363a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3639a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f364306efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f364306efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f364306efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f364306efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f364306efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f364306efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f364306efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f364306efd6 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 0x00007f364309db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f364309df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f364303f9ea 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 #15 0x00007f364303fb9e 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:223:0 #16 0x00007f364305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f364305109a clang::ento::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 0x00007f364334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f364334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f364334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f364334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f364334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f364334e0a7 llvm::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 0x00007f364334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f364334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f3643351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f3643351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f3643351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f3643351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f3643351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f364170724a __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 0x00007f364170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f364170724a void clang::finalize>, 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 0x00007f364170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f3642e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f3642df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f3642df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f3642df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f3642e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000559be69e8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000559be69ec70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000559be69ee440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000559be69e2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f3639a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f3639a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000559be69e2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-inlined.cpp.script: line 1: 556943 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/mutually_exclusive_null_fp.cpp (935 of 19712) ******************** TEST 'Clang :: Analysis/mutually_exclusive_null_fp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007efc1ebd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efc1ebceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efc1ebd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efc1dc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efc272c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007efc272c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007efc272c7b03 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007efc272c7b03 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007efc272c7b03 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007efc272c7b03 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007efc272c7b03 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007efc272c7b03 (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:63 #12 0x00007efc272c9fe0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007efc272c9fe0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007efc272c9fe0 (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:60 #15 0x00007efc272d4425 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007efc272d4425 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007efc272d4425 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #18 0x00007efc272d4425 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #19 0x00007efc272d4425 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #20 0x00007efc272d4425 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #21 0x00007efc272d4425 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #22 0x00007efc272d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #23 0x00007efc272d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #24 0x00007efc272d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #25 0x00007efc272d4425 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #26 0x00007efc272d4e65 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 #27 0x00007efc272d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x00007efc272d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007efc272d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #30 0x00007efc272b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007efc272b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007efc272b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #33 0x00007efc272d66ef llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #34 0x00007efc272d66ef llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x00007efc272d66ef 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 #36 0x00007efc272e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007efc272e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007efc272e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #39 0x00007efc272e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007efc272e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007efc272e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #42 0x00007efc272e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007efc272e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007efc272e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #45 0x00007efc2723da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #46 0x00007efc2723da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #47 0x00007efc2723da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #48 0x00007efc2723da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #49 0x00007efc27786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x00007efc27786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x00007efc27786b68 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 #52 0x00007efc27269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #53 0x00007efc27269db3 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 #54 0x00007efc27269db3 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 #55 0x00007efc2729d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #56 0x00007efc2729d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #57 0x00007efc2729d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #58 0x00007efc2729d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #59 0x00007efc2729d93e clang::ento::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 #60 0x00007efc2729dc4e clang::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 0x00007efc2729df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007efc2723fac2 clang::ento::CoreEngine::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 0x00007efc2725109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x00007efc2725109a clang::ento::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 0x00007efc2754c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x00007efc2754c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x00007efc2754c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x00007efc2754c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x00007efc2754c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x00007efc2754e0a7 llvm::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 0x00007efc2754e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x00007efc2754e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x00007efc27551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x00007efc27551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x00007efc27551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x00007efc27551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x00007efc27551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x00007efc2590724a __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 0x00007efc2590724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x00007efc2590724a void clang::finalize>, 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 0x00007efc2590724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x00007efc27044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x00007efc26ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x00007efc26ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x00007efc26ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x00007efc270948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000055965bcdca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000055965bce070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000055965bce2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000055965bcd6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x00007efc1dc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #92 0x00007efc1dc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #93 0x000055965bcd6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/mutually_exclusive_null_fp.cpp.script: line 1: 556914 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-ctor-null-throw.cpp (936 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-null-throw.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff25e3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff25e3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff25e3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff25d454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff266a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff266a6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff266a6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff266a6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff266a6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff266a6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff266a6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007ff266a6efd6 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 0x00007ff266a810f3 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x00007ff266a810f3 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x00007ff266a810f3 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x00007ff266a810f3 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x00007ff266a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007ff266a5109a clang::ento::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 0x00007ff266d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007ff266d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007ff266d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007ff266d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007ff266d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007ff266d4e0a7 llvm::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 0x00007ff266d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007ff266d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007ff266d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007ff266d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007ff266d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007ff266d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007ff266d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007ff26510724a __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 0x00007ff26510724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007ff26510724a void clang::finalize>, 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 0x00007ff26510724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007ff266844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007ff2667f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007ff2667f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007ff2667f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007ff2668948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000559b225a2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000559b225a670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000559b225a8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000559b2259c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007ff25d43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007ff25d43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000559b2259c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null-throw.cpp.script: line 2: 556954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 19712) ******************** TEST 'Clang :: Analysis/new-ctor-null.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007efca21d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efca21ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efca21d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efca1254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efcaa86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007efcaa86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007efcaa86efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007efcaa86efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007efcaa86efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007efcaa86efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007efcaa86efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007efcaa86efd6 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 0x00007efcaa8810f3 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x00007efcaa8810f3 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x00007efcaa8810f3 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x00007efcaa8810f3 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x00007efcaa85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007efcaa85109a clang::ento::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 0x00007efcaab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007efcaab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007efcaab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007efcaab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007efcaab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007efcaab4e0a7 llvm::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 0x00007efcaab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007efcaab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007efcaab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007efcaab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007efcaab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007efcaab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007efcaab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007efca8f0724a __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 0x00007efca8f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007efca8f0724a void clang::finalize>, 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 0x00007efca8f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007efcaa644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007efcaa5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007efcaa5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007efcaa5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007efcaa6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000560416d6fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000560416d7370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000560416d75440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000560416d69903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007efca123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007efca123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000560416d69945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null.cpp.script: line 1: 556962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-aligned.cpp (939 of 19712) ******************** TEST 'Clang :: Analysis/new-aligned.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f14697d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f14697ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f14697d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1468854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1472235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1472235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1472235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1472235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1472235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1472235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1472235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1472235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1471ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1471ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1471ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1471ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1471ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1471ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1471ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1471ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1471ed4e65 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 #21 0x00007f1471ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1471ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1471ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1471eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1471eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1471eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1471ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1471ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1471ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1471ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1471ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1471ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1471ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1471ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1471ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1471ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1471ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1471ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1471e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1471e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1471e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1471e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1471e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f1471e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f1471e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f1471e97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f1471e97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f1471e97620 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 #49 0x00007f1471e97620 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 #50 0x00007f1471e977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f1471e977b2 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 0x00007f1471e9dfaf clang::ento::ExprEngine::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 0x00007f1471e3f9ea 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 0x00007f1471e3fb9e 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:223:0 #55 0x00007f1471e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f1471e5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f147214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f147214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f147214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f147214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f147214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f147214e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f147214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f147214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f1472151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f1472151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f1472151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f1472151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f1472151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f147050724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f147050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f147050724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f147050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f1471c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f1471bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f1471bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f1471bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f1471c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000560d4d7a6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000560d4d7aa70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000560d4d7ac440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000560d4d7a0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f146883ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f146883f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000560d4d7a0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-aligned.cpp.script: line 1: 556922 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-conservative.cpp (941 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-conservative.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6f721d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6f721ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6f721d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6f71254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6f7ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6f7ac35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6f7ac35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6f7ac35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6f7ac35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6f7ac35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6f7ac35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6f7ac35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6f7a8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6f7a8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6f7a8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6f7a8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6f7a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6f7a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6f7a8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6f7a8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6f7a8d4e65 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 #21 0x00007f6f7a8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6f7a8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6f7a8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6f7a8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6f7a8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6f7a8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6f7a8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6f7a8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6f7a8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6f7a8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6f7a8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6f7a8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6f7a8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6f7a8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6f7a8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6f7a8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6f7a8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6f7a8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6f7a83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6f7a83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6f7a83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6f7a83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6f7a83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f6f7a83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f6f7a83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f6f7a897620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f6f7a897620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f6f7a897620 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 #49 0x00007f6f7a897620 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 #50 0x00007f6f7a8977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f6f7a8977b2 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 0x00007f6f7a89dfaf clang::ento::ExprEngine::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 0x00007f6f7a83f9ea 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 0x00007f6f7a83fb9e 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:223:0 #55 0x00007f6f7a85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f6f7a85109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f6f7ab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f6f7ab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f6f7ab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f6f7ab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f6f7ab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f6f7ab4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f6f7ab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f6f7ab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f6f7ab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f6f7ab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f6f7ab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f6f7ab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f6f7ab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f6f78f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f6f78f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f6f78f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f6f78f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f6f7a644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f6f7a5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f6f7a5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f6f7a5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f6f7a6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x00005613ce420a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x00005613ce42470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x00005613ce426440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x00005613ce41a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f6f7123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f6f7123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x00005613ce41a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-conservative.cpp.script: line 1: 556939 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (942 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ffa1e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ffa1e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ffa1e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ffa27d24ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffa27035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ffa27035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ffa27035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ffa27035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ffa27035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ffa27035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ffa27035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ffa27035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ffa26cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ffa26cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ffa26cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ffa26cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ffa26cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ffa26cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ffa26cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ffa26cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ffa26cd4e65 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 #21 0x00007ffa26cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ffa26cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ffa26cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ffa26cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ffa26cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ffa26cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ffa26cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ffa26cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ffa26cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ffa26ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ffa26ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ffa26ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ffa26ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ffa26ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ffa26ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ffa26ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ffa26ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ffa26ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ffa26c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ffa26c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ffa26c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ffa26c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ffa27186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007ffa27186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007ffa27186b68 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 #46 0x00007ffa26e15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007ffa26e15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007ffa26e15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007ffa26e15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007ffa26e15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007ffa26e15ff0 (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 #52 0x00007ffa26e1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #53 0x00007ffa26e1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ffa26e1647b (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 #55 0x00007ffa26e1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #56 0x00007ffa26e1851b 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 #57 0x00007ffa26c2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x00007ffa26c2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007ffa26c2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x00007ffa26c2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x00007ffa26c2561d 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:26 #62 0x00007ffa26c7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #63 0x00007ffa26c7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #64 0x00007ffa26c7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #65 0x00007ffa26c7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #66 0x00007ffa26c7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #67 0x00007ffa26c7ecbc 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:0 #68 0x00007ffa26c7f767 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:0 #69 0x00007ffa26c9c6f1 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 #70 0x00007ffa26c9c6f1 clang::ento::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 #71 0x00007ffa26c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #72 0x00007ffa26c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #73 0x00007ffa26c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #74 0x00007ffa26c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #75 0x00007ffa26c5109a clang::ento::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 0x00007ffa26f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #77 0x00007ffa26f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #78 0x00007ffa26f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #79 0x00007ffa26f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #80 0x00007ffa26f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #81 0x00007ffa26f4e0a7 llvm::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 0x00007ffa26f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x00007ffa26f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #84 0x00007ffa26f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x00007ffa26f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x00007ffa26f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x00007ffa26f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x00007ffa26f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x00007ffa2530724a __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 0x00007ffa2530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x00007ffa2530724a void clang::finalize>, 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 0x00007ffa2530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x00007ffa26a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #94 0x00007ffa269f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #95 0x00007ffa269f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #96 0x00007ffa269f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #97 0x00007ffa26a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #98 0x00005619c503da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x00005619c504170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x00005619c5043440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x00005619c5037903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x00007ffa27d0ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #103 0x00007ffa27d0f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #104 0x00005619c5037945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-malloc.cpp.script: line 1: 556942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-with-exceptions.cpp (943 of 19712) ******************** TEST 'Clang :: Analysis/new-with-exceptions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa1a9fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa1a9fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa1a9fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa1a9054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa1b266efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa1b266efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa1b266efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa1b266efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa1b266efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa1b266efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa1b266efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fa1b266efd6 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 0x00007fa1b269db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fa1b269df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fa1b263fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007fa1b265109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007fa1b265109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007fa1b294c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007fa1b294c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007fa1b294c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007fa1b294c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007fa1b294c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007fa1b294e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007fa1b294e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007fa1b294e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007fa1b2951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007fa1b2951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007fa1b2951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007fa1b2951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007fa1b2951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007fa1b0d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007fa1b0d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007fa1b0d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007fa1b0d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007fa1b2444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007fa1b23f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007fa1b23f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007fa1b23f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007fa1b24948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x00005576b8d49a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x00005576b8d4d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x00005576b8d4f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x00005576b8d43903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007fa1a903ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007fa1a903f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x00005576b8d43945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-with-exceptions.cpp.script: line 2: 557000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-ctor-recursive.cpp (947 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-recursive.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8af6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8af6dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8af6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8af5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8aff835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8aff835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8aff835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8aff835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8aff835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8aff835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8aff835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8aff835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8aff4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8aff4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8aff4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8aff4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8aff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8aff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8aff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8aff4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8aff4d4e65 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 #21 0x00007f8aff4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8aff4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8aff4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8aff4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8aff4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8aff4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8aff4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8aff4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8aff4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8aff4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8aff4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8aff4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8aff4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8aff4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8aff4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8aff4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8aff4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8aff4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8aff43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8aff43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8aff43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8aff43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8aff43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f8aff43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f8aff43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f8aff497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f8aff497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f8aff497620 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 #49 0x00007f8aff497620 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 #50 0x00007f8aff4977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f8aff4977b2 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 0x00007f8aff49dfaf clang::ento::ExprEngine::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 0x00007f8aff43fac2 clang::ento::CoreEngine::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 0x00007f8aff45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f8aff45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f8aff74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f8aff74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f8aff74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f8aff74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f8aff74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f8aff74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f8aff74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f8aff74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f8aff751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f8aff751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f8aff751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f8aff751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f8aff751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f8afdb0724a __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 0x00007f8afdb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f8afdb0724a void clang::finalize>, 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 0x00007f8afdb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f8aff244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f8aff1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f8aff1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f8aff1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f8aff2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005631098a9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005631098ad70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005631098af440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005631098a3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f8af5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f8af5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005631098a3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-recursive.cpp.script: line 1: 556970 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (950 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-symbolic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe84f1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe84f1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe84f1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe84e254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe857c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe857c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe857c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe857c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe857c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe857c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe857c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe857c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe8578d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe8578d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe8578d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe8578d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe8578d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe8578d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe8578d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe8578d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe8578d4e65 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 #21 0x00007fe8578d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe8578d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe8578d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe8578b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe8578b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe8578b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe8578d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe8578d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe8578d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe8578e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe8578e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe8578e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe8578e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe8578e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe8578e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe8578e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe8578e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe8578e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe85783da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe85783da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe85783da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe85783da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe857d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe857d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe857d86b68 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 #46 0x00007fe85786bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fe85786bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fe85786bf90 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 #49 0x00007fe85786bf90 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 #50 0x00007fe85786bf90 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 #51 0x00007fe85786bf90 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 #52 0x00007fe85786bf90 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 #53 0x00007fe85786bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fe85786bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fe85786bf90 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 #56 0x00007fe85783f21a 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:0 #57 0x00007fe85785109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe85785109a clang::ento::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 0x00007fe857b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe857b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe857b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe857b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe857b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe857b4e0a7 llvm::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 0x00007fe857b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe857b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe857b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe857b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe857b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe857b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe857b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe855f0724a __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 0x00007fe855f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe855f0724a void clang::finalize>, 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 0x00007fe855f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe857644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe8575f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe8575f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe8575f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe8576948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005593d6b72a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005593d6b7670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005593d6b78440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005593d6b6c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe84e23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe84e23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005593d6b6c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-symbolic.cpp.script: line 1: 556977 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nil-receiver-undefined-larger-than-voidptr-ret-region.m (951 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f93931d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f93931ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f93931d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9392254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f939bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f939bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f939bc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f939bc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f939bc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f939bc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f939bc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f939bc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f939b8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f939b8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f939b8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f939b8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f939b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f939b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f939b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f939b8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f939b8d4e65 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 #21 0x00007f939b8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f939b8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f939b8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f939b8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f939b8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f939b8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f939b8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f939b8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f939b8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f939b8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f939b8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f939b8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f939b8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f939b8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f939b8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f939b8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f939b8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f939b8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f939b83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f939b83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f939b83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f939b83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f939b83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f939b83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f939b83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f939b80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f939b80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f939b80953e 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 #49 0x00007f939b850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f939b850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f939b850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f939b85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f939b85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f939b85149e 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 #55 0x00007f939bb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f939bb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f939bb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f939bb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f939bb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f939bb4e0a7 llvm::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 0x00007f939bb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f939bb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f939bb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f939bb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f939bb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f939bb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f939bb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f9399f0724a __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 0x00007f9399f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f9399f0724a void clang::finalize>, 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 0x00007f9399f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f939b644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f939b5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f939b5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f939b5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f939b6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000557f9bc12a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000557f9bc1670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000557f9bc18440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000557f9bc0c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f939223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f939223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000557f9bc0c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret-region.m.script: line 1: 557018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/no-outofbounds.c (953 of 19712) ******************** TEST 'Clang :: Analysis/no-outofbounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f143d7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f143d7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f143d7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f143c854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1446089dbe retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1446089dbe retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1446089dbe retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1446089dbe IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f1446089dbe ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f1446089dbe Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f1446089dbe 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:89 #11 0x00007f1446091ba6 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 #12 0x00007f1446091ba6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f1446091ba6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f1446091ba6 set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f1446091ba6 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:34 #16 0x00007f1446091ba6 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:46 #17 0x00007f1445e1a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #18 0x00007f1445e1a9db 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:26 #19 0x00007f1445e9bf86 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 #20 0x00007f1445e9bf86 clang::ento::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 #21 0x00007f1445e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x00007f1445e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f1445e3fac2 clang::ento::CoreEngine::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 0x00007f1445e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x00007f1445e5109a clang::ento::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 0x00007f144614c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f144614c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f144614c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x00007f144614c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x00007f144614c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x00007f144614e0a7 llvm::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 0x00007f144614e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x00007f144614e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x00007f1446151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x00007f1446151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x00007f1446151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x00007f1446151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x00007f1446151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x00007f144450724a __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 0x00007f144450724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x00007f144450724a void clang::finalize>, 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 0x00007f144450724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x00007f1445c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x00007f1445bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x00007f1445bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x00007f1445bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x00007f1445c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x0000556430a44a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000556430a4870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000556430a4a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000556430a3e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x00007f143c83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #53 0x00007f143c83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #54 0x0000556430a3e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-outofbounds.c.script: line 1: 557042 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/new-dynamic-types.cpp (955 of 19712) ******************** TEST 'Clang :: Analysis/new-dynamic-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5d2d3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5d2d3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5d2d3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5d2c454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5d35e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5d35e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5d35e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5d35e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5d35e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5d35e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5d35e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5d35e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5d35ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5d35ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5d35ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5d35ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5d35ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5d35ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5d35ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5d35ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5d35ad4e65 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 #21 0x00007f5d35ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5d35ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5d35ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5d35ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5d35ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5d35ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5d35ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5d35ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5d35ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5d35ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5d35ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5d35ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5d35ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5d35ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5d35ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5d35ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5d35ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5d35ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5d35a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5d35a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5d35a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5d35a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5d35a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f5d35a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f5d35a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f5d35a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f5d35a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f5d35a97620 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 #49 0x00007f5d35a97620 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 #50 0x00007f5d35a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f5d35a977b2 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 0x00007f5d35a9dfaf clang::ento::ExprEngine::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 0x00007f5d35a3fac2 clang::ento::CoreEngine::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 0x00007f5d35a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f5d35a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f5d35d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f5d35d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f5d35d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f5d35d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f5d35d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f5d35d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f5d35d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f5d35d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f5d35d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f5d35d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f5d35d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f5d35d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f5d35d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f5d3410724a __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 0x00007f5d3410724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f5d3410724a void clang::finalize>, 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 0x00007f5d3410724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f5d35844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f5d357f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f5d357f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f5d357f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f5d358948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005635d6b0da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005635d6b1170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005635d6b13440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005635d6b07903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f5d2c43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f5d2c43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005635d6b07945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-dynamic-types.cpp.script: line 1: 556984 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/no-unreachable-dtors.cpp (957 of 19712) ******************** TEST 'Clang :: Analysis/no-unreachable-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7d7c9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7d7c9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7d7c9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7d7ba54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7d8507d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7d8507d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7d8507d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7d8507d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7d8507d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7d8507d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7d8507d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f7d8507d99e 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 0x00007f7d8503ed11 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 0x00007f7d8503fc1e 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 0x00007f7d8505109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f7d8505109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f7d8534c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f7d8534c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f7d8534c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f7d8534c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f7d8534c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f7d8534e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f7d8534e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f7d8534e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f7d85351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f7d85351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f7d85351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f7d85351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f7d85351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f7d8370724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f7d8370724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f7d8370724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f7d8370724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f7d84e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f7d84df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f7d84df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f7d84df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f7d84e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000559819c84a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000559819c8870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000559819c8a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000559819c7e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f7d7ba3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f7d7ba3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000559819c7e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-unreachable-dtors.cpp.script: line 1: 557068 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nil-receiver-undefined-larger-than-voidptr-ret.m (958 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.script: line 6: 557021 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/new.cpp (959 of 19712) ******************** TEST 'Clang :: Analysis/new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fdee0bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fdee0bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fdee0bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fdedfc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fdee9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fdee9635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fdee9635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fdee9635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fdee9635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fdee9635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fdee9635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fdee9635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fdee92d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fdee92d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fdee92d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fdee92d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fdee92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fdee92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fdee92d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fdee92d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fdee92d4e65 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 #21 0x00007fdee92d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fdee92d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fdee92d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fdee92b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fdee92b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fdee92b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fdee92d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fdee92d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fdee92d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fdee92e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fdee92e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fdee92e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fdee92e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fdee92e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fdee92e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fdee92e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fdee92e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fdee92e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fdee923da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fdee923da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fdee923da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fdee923da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fdee923df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fdee923df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fdee923df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fdee9297620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fdee9297620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fdee9297620 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 #49 0x00007fdee9297620 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 #50 0x00007fdee92977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fdee92977b2 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 0x00007fdee929dfaf clang::ento::ExprEngine::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 0x00007fdee923f9ea 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 0x00007fdee923fb9e 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:223:0 #55 0x00007fdee925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fdee925109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fdee954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fdee954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fdee954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fdee954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fdee954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fdee954e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fdee954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fdee954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fdee9551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fdee9551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fdee9551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fdee9551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fdee9551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fdee790724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fdee790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fdee790724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fdee790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fdee9044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fdee8ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fdee8ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fdee8ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fdee90948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055d2aa828a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055d2aa82c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055d2aa82e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055d2aa822903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fdedfc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fdedfc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055d2aa822945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/new.cpp.script: line 2: 557002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/no-exit-cfg.c (960 of 19712) ******************** TEST 'Clang :: Analysis/no-exit-cfg.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9c2e9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9c2e9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9c2e9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9c2da54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9c37435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9c37435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9c37435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9c37435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9c37435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9c37435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9c37435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9c37435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9c370d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9c370d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9c370d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9c370d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9c370d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9c370d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9c370d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9c370d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9c370d4e65 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 #21 0x00007f9c370d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9c370d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9c370d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9c370d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9c370d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9c370d6cdb 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 #27 0x00007f9c370d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9c370d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9c370d64ad 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 #30 0x00007f9c370e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9c370e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9c370e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9c370e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9c370e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9c370e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9c370e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9c370e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9c370e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9c3703da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9c3703da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9c3703da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9c3703da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9c37586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9c37586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9c37586b68 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 #46 0x00007f9c3706bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f9c3706bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f9c3706bf90 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 #49 0x00007f9c3706bf90 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 #50 0x00007f9c3706bf90 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 #51 0x00007f9c3706bf90 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 #52 0x00007f9c3706bf90 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 #53 0x00007f9c3706bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f9c3706bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f9c3706bf90 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 #56 0x00007f9c3703f21a 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:0 #57 0x00007f9c3705109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f9c3705109a clang::ento::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 0x00007f9c3734c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f9c3734c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f9c3734c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f9c3734c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f9c3734c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f9c3734e0a7 llvm::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 0x00007f9c3734e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f9c3734e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f9c37351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f9c37351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f9c37351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f9c37351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f9c37351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f9c3570724a __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 0x00007f9c3570724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f9c3570724a void clang::finalize>, 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 0x00007f9c3570724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f9c36e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f9c36df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f9c36df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f9c36df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f9c36e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005628dd6a5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005628dd6a970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005628dd6ab440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005628dd69f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f9c2da3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f9c2da3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005628dd69f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-exit-cfg.c.script: line 2: 557033 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (961 of 19712) ******************** TEST 'Clang :: Analysis/no-store-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f38005d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f38005ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f38005d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f37ff654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3809035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3809035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3809035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3809035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3809035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3809035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3809035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3809035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3808cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3808cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3808cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3808cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3808cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3808cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3808cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3808cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3808cd4c2b 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 #21 0x00007f3808cd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3808cd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3808cd4c2b (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:31 #24 0x00007f3808cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3808cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3808cd6cdb 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 #27 0x00007f3808cd64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3808cd64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3808cd64ad 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 #30 0x00007f3808ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3808ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3808ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3808ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3808ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3808ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3808ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3808ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3808ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3808c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3808c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3808c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3808c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3809186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3809186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3809186b68 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 #46 0x00007f3808c6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f3808c6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f3808c6bf90 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 #49 0x00007f3808c6bf90 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 #50 0x00007f3808c6bf90 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 #51 0x00007f3808c6bf90 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 #52 0x00007f3808c6bf90 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 #53 0x00007f3808c6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f3808c6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f3808c6bf90 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 #56 0x00007f3808c3f21a 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:0 #57 0x00007f3808c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3808c5109a clang::ento::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 0x00007f3808f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3808f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3808f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3808f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3808f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3808f4e0a7 llvm::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 0x00007f3808f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3808f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3808f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3808f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3808f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3808f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3808f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f380730724a __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 0x00007f380730724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f380730724a void clang::finalize>, 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 0x00007f380730724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3808a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f38089f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f38089f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f38089f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3808a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005578f6a8ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005578f6a9270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005578f6a94440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005578f6a88903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f37ff63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f37ff63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005578f6a88945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-store-suppression.cpp.script: line 1: 557055 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 (962 of 19712) ******************** TEST 'Clang :: Analysis/no-return.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f38879d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f38879ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f38879d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3886a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3890435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3890435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3890435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3890435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3890435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3890435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3890435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3890435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f38900d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f38900d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f38900d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f38900d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f38900d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f38900d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f38900d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f38900d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f38900d4e65 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 #21 0x00007f38900d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f38900d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f38900d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f38900d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f38900d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f38900d6cdb 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 #27 0x00007f38900d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f38900d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f38900d64ad 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 #30 0x00007f38900e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f38900e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f38900e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f38900e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f38900e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f38900e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f38900e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f38900e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f38900e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f389003da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f389003da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f389003da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f389003da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3890586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3890586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3890586b68 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 #46 0x00007f389006bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f389006bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f389006bf90 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 #49 0x00007f389006bf90 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 #50 0x00007f389006bf90 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 #51 0x00007f389006bf90 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 #52 0x00007f389006bf90 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 #53 0x00007f389006bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f389006bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f389006bf90 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 #56 0x00007f389003f21a 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:0 #57 0x00007f389005109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f389005109a clang::ento::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 0x00007f389034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f389034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f389034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f389034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f389034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f389034e0a7 llvm::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 0x00007f389034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f389034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3890351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3890351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3890351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3890351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3890351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f388e70724a __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 0x00007f388e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f388e70724a void clang::finalize>, 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 0x00007f388e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f388fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f388fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f388fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f388fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f388fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000561384719a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056138471d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056138471f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000561384713903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f3886a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f3886a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000561384713945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-return.c.script: line 1: 557044 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/non-diagnosable-assumptions.c (965 of 19712) ******************** TEST 'Clang :: Analysis/non-diagnosable-assumptions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f76eddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f76eddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f76eddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f76ece54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f76f6835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f76f6835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f76f6835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f76f6835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f76f6835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f76f6835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f76f6835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f76f6835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f76f64d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f76f64d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f76f64d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f76f64d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f76f64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f76f64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f76f64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f76f64d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f76f64d4e65 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 #21 0x00007f76f64d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f76f64d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f76f64d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f76f64b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f76f64b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f76f64b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f76f64d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f76f64d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f76f64d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f76f64e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f76f64e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f76f64e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f76f64e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f76f64e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f76f64e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f76f64e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f76f64e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f76f64e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f76f643da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f76f643da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f76f643da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f76f643da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f76f6986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f76f6986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f76f6986b68 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 #46 0x00007f76f6469db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f76f6469db3 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 #48 0x00007f76f6469db3 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 #49 0x00007f76f649d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f76f649d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f76f649d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f76f649d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f76f649d93e clang::ento::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 #54 0x00007f76f649dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f76f649df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f76f643fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f76f645109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f76f645109a clang::ento::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 0x00007f76f674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f76f674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f76f674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f76f674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f76f674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f76f674e0a7 llvm::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 0x00007f76f674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f76f674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f76f6751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f76f6751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f76f6751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f76f6751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f76f6751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f76f4b0724a __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 0x00007f76f4b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f76f4b0724a void clang::finalize>, 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 0x00007f76f4b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f76f6244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f76f61f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f76f61f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f76f61f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f76f62948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e160296a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e16029a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e16029c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e160290903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f76ece3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f76ece3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e160290945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/non-diagnosable-assumptions.c.script: line 1: 557074 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nonnullparamchecker-crash.cpp (966 of 19712) ******************** TEST 'Clang :: Analysis/nonnullparamchecker-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f72c03d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f72c03ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f72c03d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f72bf454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f72c8a6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f72c8a6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f72c8a6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f72c8a6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f72c8a6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f72c8a6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f72c8a6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f72c8a6f83e 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 0x00007f72c8a725b9 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 0x00007f72c8a725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f72c8a725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f72c8a725b9 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 #16 0x00007f72c8a727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f72c8a727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f72c8a727ab 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 #19 0x00007f72c8a99d0e 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 #20 0x00007f72c8a9c69e 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 #21 0x00007f72c8a9c69e clang::ento::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 #22 0x00007f72c8a9dc4e clang::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 0x00007f72c8a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f72c8a3fac2 clang::ento::CoreEngine::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 0x00007f72c8a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f72c8a5109a clang::ento::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 0x00007f72c8d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f72c8d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f72c8d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f72c8d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f72c8d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f72c8d4e0a7 llvm::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 0x00007f72c8d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f72c8d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f72c8d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f72c8d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f72c8d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f72c8d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f72c8d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f72c710724a __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 0x00007f72c710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f72c710724a void clang::finalize>, 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 0x00007f72c710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f72c8844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f72c87f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f72c87f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f72c87f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f72c88948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x00005581c9397a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x00005581c939b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x00005581c939d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x00005581c9391903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f72bf43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f72bf43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x00005581c9391945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnullparamchecker-crash.cpp.script: line 1: 557109 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (968 of 19712) ******************** TEST 'Clang :: Analysis/nonnull.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f78a3bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f78a3bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f78a3bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f78a2c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f78ac635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f78ac635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f78ac635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f78ac635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f78ac635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f78ac635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f78ac635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f78ac635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f78ac2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f78ac2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f78ac2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f78ac2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f78ac2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f78ac2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f78ac2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f78ac2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f78ac2d4e65 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 #21 0x00007f78ac2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f78ac2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f78ac2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f78ac2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f78ac2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f78ac2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f78ac2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f78ac2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f78ac2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f78ac2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f78ac2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f78ac2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f78ac2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f78ac2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f78ac2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f78ac2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f78ac2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f78ac2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f78ac23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f78ac23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f78ac23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f78ac23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f78ac786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f78ac786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f78ac786b68 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 #46 0x00007f78ac26bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f78ac26bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f78ac26bf90 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 #49 0x00007f78ac26bf90 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 #50 0x00007f78ac26bf90 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 #51 0x00007f78ac26bf90 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 #52 0x00007f78ac26bf90 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 #53 0x00007f78ac26bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f78ac26bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f78ac26bf90 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 #56 0x00007f78ac23f21a 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:0 #57 0x00007f78ac25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f78ac25109a clang::ento::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 0x00007f78ac54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f78ac54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f78ac54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f78ac54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f78ac54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f78ac54e0a7 llvm::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 0x00007f78ac54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f78ac54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f78ac551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f78ac551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f78ac551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f78ac551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f78ac551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f78aa90724a __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 0x00007f78aa90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f78aa90724a void clang::finalize>, 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 0x00007f78aa90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f78ac044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f78abff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f78abff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f78abff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f78ac0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d54e489a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d54e48d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d54e48f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d54e483903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f78a2c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f78a2c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d54e483945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.cpp.script: line 1: 557091 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (969 of 19712) ******************** TEST 'Clang :: Analysis/nonnull-global-constants.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f66f13d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f66f13ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f66f13d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f66f0454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f66f9e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f66f9e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f66f9e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f66f9e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f66f9e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f66f9e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f66f9e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f66f9e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f66f9ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f66f9ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f66f9ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f66f9ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f66f9ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f66f9ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f66f9ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f66f9ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f66f9ad4e65 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 #21 0x00007f66f9ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f66f9ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f66f9ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f66f9ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f66f9ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f66f9ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f66f9ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f66f9ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f66f9ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f66f9ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f66f9ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f66f9ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f66f9ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f66f9ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f66f9ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f66f9ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f66f9ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f66f9ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f66f9a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f66f9a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f66f9a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f66f9a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f66f9a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f66f9a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f66f9a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f66f9a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f66f9a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f66f9a0953e 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 #49 0x00007f66f9c4924f llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:59 #50 0x00007f66f9c4924f checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp:88:22 #51 0x00007f66f9c4924f 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:46 #52 0x00007f66f9a1b7ad 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:5 #53 0x00007f66f9a68471 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 #54 0x00007f66f9a68471 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 #55 0x00007f66f9a69840 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 #56 0x00007f66f9a69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #57 0x00007f66f9a69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #58 0x00007f66f9a69840 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 #59 0x00007f66f9a77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x00007f66f9a77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x00007f66f9a77a6a 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:15 #62 0x00007f66f9a9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #63 0x00007f66f9a9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #64 0x00007f66f9a9bf62 clang::ento::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 #65 0x00007f66f9a9dc4e clang::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 0x00007f66f9a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f66f9a3fac2 clang::ento::CoreEngine::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 0x00007f66f9a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f66f9a5109a clang::ento::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 0x00007f66f9d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f66f9d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f66f9d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f66f9d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f66f9d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f66f9d4e0a7 llvm::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 0x00007f66f9d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f66f9d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f66f9d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f66f9d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f66f9d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f66f9d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f66f9d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f66f810724a __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 0x00007f66f810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f66f810724a void clang::finalize>, 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 0x00007f66f810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f66f9844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f66f97f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f66f97f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f66f97f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f66f98948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x0000563cea31aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000563cea31e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000563cea320440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000563cea314903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f66f043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f66f043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000563cea314945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull-global-constants.mm.script: line 1: 557084 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nonnull.m (970 of 19712) ******************** TEST 'Clang :: Analysis/nonnull.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f83e71d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f83e71ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f83e71d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f83e6254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f83efc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f83efc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f83efc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f83efc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f83efc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f83efc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f83efc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f83efc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f83ef8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f83ef8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f83ef8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f83ef8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f83ef8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f83ef8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f83ef8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f83ef8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f83ef8d4e65 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 #21 0x00007f83ef8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f83ef8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f83ef8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f83ef8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f83ef8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f83ef8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f83ef8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f83ef8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f83ef8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f83ef8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f83ef8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f83ef8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f83ef8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f83ef8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f83ef8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f83ef8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f83ef8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f83ef8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f83ef83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f83ef83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f83ef83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f83ef83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f83efa477e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f83efa477e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f83efa477e0 (anonymous namespace)::NonNullParamChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:175:54 #46 0x00007f83ef82561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #47 0x00007f83ef82561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007f83ef82561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #49 0x00007f83ef82561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #50 0x00007f83ef82561d 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:26 #51 0x00007f83ef87eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #52 0x00007f83ef87eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #53 0x00007f83ef87eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #54 0x00007f83ef87eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #55 0x00007f83ef87eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #56 0x00007f83ef87eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #57 0x00007f83ef87eac9 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:0 #58 0x00007f83ef87f767 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:0 #59 0x00007f83ef89c6f1 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 0x00007f83ef89c6f1 clang::ento::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 0x00007f83ef89dc4e clang::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 0x00007f83ef89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f83ef83fac2 clang::ento::CoreEngine::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 0x00007f83ef85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f83ef85109a clang::ento::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 0x00007f83efb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f83efb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f83efb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f83efb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f83efb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f83efb4e0a7 llvm::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 0x00007f83efb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f83efb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f83efb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f83efb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f83efb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f83efb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f83efb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f83edf0724a __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 0x00007f83edf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f83edf0724a void clang::finalize>, 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 0x00007f83edf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f83ef644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f83ef5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f83ef5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f83ef5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f83ef6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x00005592a749fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x00005592a74a370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x00005592a74a5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x00005592a7499903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f83e623ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f83e623f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x00005592a7499945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.m.script: line 1: 557097 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (971 of 19712) ******************** TEST 'Clang :: Analysis/novoidtypecrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f34e7bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f34e7bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f34e7bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f34e6c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f34f0635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f34f0635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f34f0635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f34f0635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f34f0635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f34f0635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f34f0635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f34f0635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f34f02d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f34f02d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f34f02d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f34f02d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f34f02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f34f02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f34f02d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f34f02d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f34f02d4e65 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 #21 0x00007f34f02d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f34f02d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f34f02d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f34f02b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f34f02b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f34f02b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f34f02d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f34f02d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f34f02d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f34f02e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f34f02e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f34f02e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f34f02e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f34f02e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f34f02e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f34f02e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f34f02e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f34f02e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f34f02e8cd9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f34f02e8cd9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f34f02e8cd9 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:91:0 #42 0x00007f34f02e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #43 0x00007f34f02e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #44 0x00007f34f02e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #45 0x00007f34f02e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #46 0x00007f34f02e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #47 0x00007f34f02e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #48 0x00007f34f023da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f34f023da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f34f023da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #51 0x00007f34f023da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #52 0x00007f34f0786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x00007f34f0786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x00007f34f0786b68 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 #55 0x00007f34f026bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #56 0x00007f34f026bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #57 0x00007f34f026bf90 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 #58 0x00007f34f026bf90 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 #59 0x00007f34f026bf90 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 #60 0x00007f34f026bf90 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 #61 0x00007f34f026bf90 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 #62 0x00007f34f026bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #63 0x00007f34f026bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #64 0x00007f34f026bf90 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 #65 0x00007f34f023f21a 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:0 #66 0x00007f34f025109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f34f025109a clang::ento::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 0x00007f34f054c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f34f054c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f34f054c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f34f054c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f34f054c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f34f054e0a7 llvm::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 0x00007f34f054e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f34f054e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f34f0551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f34f0551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f34f0551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f34f0551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f34f0551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f34ee90724a __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 0x00007f34ee90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f34ee90724a void clang::finalize>, 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 0x00007f34ee90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f34f0044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f34efff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f34efff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f34efff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f34f00948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x00005586cc7c1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x00005586cc7c570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x00005586cc7c7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x00005586cc7bb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f34e6c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f34e6c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x00005586cc7bb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/novoidtypecrash.c.script: line 1: 557121 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-path-notes.cpp (972 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa8befd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa8befceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa8befd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa8be054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa8c7a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa8c7a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa8c7a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa8c7a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa8c7a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa8c7a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa8c7a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa8c7a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa8c76d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa8c76d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa8c76d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa8c76d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa8c76d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa8c76d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa8c76d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa8c76d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa8c76d4e65 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 #21 0x00007fa8c76d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa8c76d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa8c76d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa8c76b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa8c76b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa8c76b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa8c76d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa8c76d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa8c76d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa8c76e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa8c76e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa8c76e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa8c76e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa8c76e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa8c76e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa8c76e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa8c76e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa8c76e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa8c763da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa8c763da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa8c763da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa8c763da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa8c763df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa8c763df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa8c763df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa8c760953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa8c760953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa8c760953e 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 #49 0x00007fa8c7650e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa8c7650e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa8c7650e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fa8c765149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa8c765149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa8c765149e 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 #55 0x00007fa8c794c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa8c794c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa8c794c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa8c794c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa8c794c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa8c794e0a7 llvm::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 0x00007fa8c794e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa8c794e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa8c7951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa8c7951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa8c7951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa8c7951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa8c7951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa8c5d0724a __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 0x00007fa8c5d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa8c5d0724a void clang::finalize>, 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 0x00007fa8c5d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa8c7444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa8c73f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa8c73f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa8c73f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa8c74948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000555697904a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055569790870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055569790a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005556978fe903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fa8be03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fa8be03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005556978fe945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.cpp.script: line 1: 557136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-offsets.c (973 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-offsets.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd8c31d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd8c31ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd8c31d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd8c2254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd8cbc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd8cbc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd8cbc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd8cbc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd8cbc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd8cbc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd8cbc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd8cbc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd8cb8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd8cb8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd8cb8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd8cb8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd8cb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd8cb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd8cb8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd8cb8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd8cb8d4e65 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 #21 0x00007fd8cb8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd8cb8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd8cb8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd8cb8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd8cb8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd8cb8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fd8cb8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd8cb8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd8cb8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fd8cb8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd8cb8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd8cb8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd8cb8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd8cb8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd8cb8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd8cb8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd8cb8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd8cb8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd8cb83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd8cb83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd8cb83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd8cb83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd8cbd86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fd8cbd86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fd8cbd86b68 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 #46 0x00007fd8cb869db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fd8cb869db3 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 #48 0x00007fd8cb869db3 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 #49 0x00007fd8cb89d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fd8cb89d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fd8cb89d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fd8cb89d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fd8cb89d93e clang::ento::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 #54 0x00007fd8cb89dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fd8cb89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fd8cb83fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fd8cb85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fd8cb85109a clang::ento::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 0x00007fd8cbb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fd8cbb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fd8cbb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fd8cbb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fd8cbb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fd8cbb4e0a7 llvm::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 0x00007fd8cbb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fd8cbb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fd8cbb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fd8cbb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fd8cbb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fd8cbb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fd8cbb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fd8c9f0724a __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 0x00007fd8c9f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fd8c9f0724a void clang::finalize>, 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 0x00007fd8c9f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fd8cb644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fd8cb5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fd8cb5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fd8cb5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fd8cb6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005587f8f6ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005587f8f6f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005587f8f71440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005587f8f65903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fd8c223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fd8c223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005587f8f65945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-offsets.c.script: line 1: 557120 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.m (979 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f5652bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5652bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5652bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5651c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f565b635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f565b635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f565b635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f565b635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f565b635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f565b635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f565b635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f565b635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f565b2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f565b2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f565b2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f565b2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f565b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f565b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f565b2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f565b2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f565b2d4e65 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 #21 0x00007f565b2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f565b2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f565b2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f565b2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f565b2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f565b2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f565b2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f565b2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f565b2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f565b2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f565b2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f565b2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f565b2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f565b2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f565b2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f565b2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f565b2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f565b2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f565b23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f565b23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f565b23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f565b23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f565b786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f565b786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f565b786b68 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 #46 0x00007f565b37f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f565b37f794 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:0 #48 0x00007f565b37f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f565b37f794 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:0 #50 0x00007f565b21b7ad 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:5 #51 0x00007f565b268471 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 #52 0x00007f565b268471 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 #53 0x00007f565b26e9d7 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 #54 0x00007f565b26e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f565b26e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f565b26e9d7 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 #57 0x00007f565b2762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f565b2762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f565b2762c7 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:51 #60 0x00007f565b29d82f 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 0x00007f565b29d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #62 0x00007f565b29dc4e clang::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 0x00007f565b29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f565b23fac2 clang::ento::CoreEngine::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 0x00007f565b25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f565b25109a clang::ento::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 0x00007f565b54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f565b54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f565b54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f565b54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f565b54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f565b54e0a7 llvm::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 0x00007f565b54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f565b54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f565b551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f565b551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f565b551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f565b551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f565b551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f565990724a __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 0x00007f565990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f565990724a void clang::finalize>, 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 0x00007f565990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f565b044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f565aff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f565aff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f565aff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f565b0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000055bd5db3da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000055bd5db4170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000055bd5db43440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000055bd5db37903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f5651c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f5651c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x000055bd5db37945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.script: line 3: 557138 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-region.c (980 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-ps-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f28d61d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f28d61ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f28d61d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f28d5254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f28dec14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f28dec14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f28dec14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f28dec14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f28dec14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f28dec14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f28dec14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f28dec14a5e (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 0x00007f28de9e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f28de9e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f28de9e8fd5 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 0x00007f28de82397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f28de82397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f28de82397a 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:29 #18 0x00007f28de82397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f28de8e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f28de8e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f28de8e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f28de8e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f28de8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f28de8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f28de8e9060 clang::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 0x00007f28de83db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f28de83db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f28de83db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f28de83db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f28ded86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f28ded86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f28ded86b68 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 0x00007f28dea15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f28dea15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f28dea15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f28dea15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f28dea15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f28dea15ff0 (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 0x00007f28dea1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f28dea1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f28dea1647b (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 0x00007f28dea1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f28dea1851b 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 0x00007f28de82561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f28de82561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f28de82561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f28de82561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f28de82561d 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:26 #49 0x00007f28de87ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f28de87ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f28de87ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f28de87ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f28de87ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f28de87ecbc 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:0 #55 0x00007f28de87f767 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:0 #56 0x00007f28de89c6f1 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 0x00007f28de89c6f1 clang::ento::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 0x00007f28de89dc4e clang::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 0x00007f28de89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f28de83fac2 clang::ento::CoreEngine::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 0x00007f28de85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f28de85109a clang::ento::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 0x00007f28deb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f28deb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f28deb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f28deb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f28deb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f28deb4e0a7 llvm::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 0x00007f28deb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f28deb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f28deb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f28deb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f28deb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f28deb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f28deb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f28dcf0724a __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 0x00007f28dcf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f28dcf0724a void clang::finalize>, 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 0x00007f28dcf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f28de644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f28de5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f28de5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f28de5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f28de6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055bb66daca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055bb66db070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055bb66db2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055bb66da6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f28d523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f28d523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055bb66da6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps-region.c.script: line 1: 557154 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/null-deref-ps.c (982 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f98e9fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f98e9fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f98e9fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f98e9054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f98f2a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f98f2a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f98f2a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f98f2a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f98f2a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f98f2a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f98f2a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f98f2a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f98f26d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f98f26d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f98f26d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f98f26d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f98f26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f98f26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f98f26d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f98f26d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f98f26d4e65 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 #21 0x00007f98f26d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f98f26d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f98f26d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f98f26b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f98f26b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f98f26b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f98f26d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f98f26d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f98f26d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f98f26e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f98f26e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f98f26e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f98f26e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f98f26e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f98f26e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f98f26e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f98f26e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f98f26e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f98f263da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f98f263da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f98f263da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f98f263da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f98f2b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f98f2b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f98f2b86b68 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 #46 0x00007f98f2669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f98f2669db3 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 #48 0x00007f98f2669db3 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 #49 0x00007f98f269d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f98f269d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f98f269d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f98f269d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f98f269d93e clang::ento::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 #54 0x00007f98f269dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f98f269df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f98f263fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f98f265109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f98f265109a clang::ento::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 0x00007f98f294c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f98f294c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f98f294c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f98f294c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f98f294c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f98f294e0a7 llvm::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 0x00007f98f294e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f98f294e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f98f2951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f98f2951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f98f2951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f98f2951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f98f2951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f98f0d0724a __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 0x00007f98f0d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f98f0d0724a void clang::finalize>, 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 0x00007f98f0d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f98f2444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f98f23f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f98f23f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f98f23f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f98f24948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055b1255f7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055b1255fb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055b1255fd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055b1255f1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f98e903ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f98e903f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055b1255f1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps.c.script: line 2: 557168 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-static.m (983 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-static.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4bf7dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4bf7dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4bf7dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4bf6e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4c00835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4c00835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4c00835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4c00835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4c00835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4c00835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4c00835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4c00835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4c004d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4c004d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4c004d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4c004d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4c004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4c004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4c004d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4c004d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4c004d4e65 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 #21 0x00007f4c004d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4c004d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4c004d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4c004d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4c004d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4c004d6cdb 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 #27 0x00007f4c004d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4c004d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4c004d64ad 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 #30 0x00007f4c004e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4c004e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4c004e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4c004e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4c004e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4c004e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4c004e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4c004e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4c004e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4c0043da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4c0043da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4c0043da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4c0043da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4c00986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f4c00986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f4c00986b68 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 #46 0x00007f4c0046bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f4c0046bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f4c0046bf90 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 #49 0x00007f4c0046bf90 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 #50 0x00007f4c0046bf90 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 #51 0x00007f4c0046bf90 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 #52 0x00007f4c0046bf90 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 #53 0x00007f4c0046bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f4c0046bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f4c0046bf90 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 #56 0x00007f4c0043f21a 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:0 #57 0x00007f4c0045109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f4c0045109a clang::ento::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 0x00007f4c0074c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f4c0074c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f4c0074c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f4c0074c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f4c0074c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f4c0074e0a7 llvm::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 0x00007f4c0074e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f4c0074e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f4c00751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f4c00751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f4c00751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f4c00751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f4c00751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f4bfeb0724a __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 0x00007f4bfeb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f4bfeb0724a void clang::finalize>, 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 0x00007f4bfeb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f4c00244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f4c001f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f4c001f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f4c001f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f4c002948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056490aba6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056490abaa70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000056490abac440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000056490aba0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f4bf6e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f4bf6e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000056490aba0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-static.m.script: line 1: 557191 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-arc.mm (984 of 19712) ******************** TEST 'Clang :: Analysis/nullability-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f92a6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f92a6dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f92a6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f92a5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f92af835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f92af835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f92af835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f92af835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f92af835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f92af835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f92af835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f92af835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f92af4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f92af4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f92af4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f92af4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f92af4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f92af4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f92af4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f92af4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f92af4d4e65 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 #21 0x00007f92af4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f92af4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f92af4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f92af4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f92af4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f92af4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f92af4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f92af4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f92af4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f92af4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f92af4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f92af4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f92af4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f92af4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f92af4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f92af4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f92af4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f92af4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f92af43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f92af43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f92af43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f92af43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f92af43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f92af43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f92af43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f92af40953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f92af40953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f92af40953e 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 #49 0x00007f92af450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f92af450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f92af450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f92af45149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f92af45149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f92af45149e 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 #55 0x00007f92af74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f92af74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f92af74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f92af74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f92af74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f92af74e0a7 llvm::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 0x00007f92af74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f92af74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f92af751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f92af751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f92af751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f92af751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f92af751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f92adb0724a __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 0x00007f92adb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f92adb0724a void clang::finalize>, 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 0x00007f92adb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f92af244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f92af1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f92af1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f92af1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f92af2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005610cb8e4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005610cb8e870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005610cb8ea440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005610cb8de903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f92a5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f92a5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005610cb8de945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-arc.mm.script: line 2: 557193 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nullability-no-arc.mm (985 of 19712) ******************** TEST 'Clang :: Analysis/nullability-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f788cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f788cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f788cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f788be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7895835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7895835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7895835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7895835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7895835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7895835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7895835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7895835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f78954d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f78954d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f78954d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f78954d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f78954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f78954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f78954d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f78954d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f78954d4e65 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 #21 0x00007f78954d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f78954d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f78954d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f78954b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f78954b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f78954b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f78954d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f78954d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f78954d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f78954e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f78954e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f78954e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f78954e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f78954e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f78954e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f78954e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f78954e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f78954e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f789543da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f789543da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f789543da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f789543da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f789543df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f789543df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f789543df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f789540953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f789540953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f789540953e 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 #49 0x00007f7895450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f7895450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f7895450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f789545149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f789545149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f789545149e 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 #55 0x00007f789574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f789574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f789574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f789574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f789574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f789574e0a7 llvm::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 0x00007f789574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f789574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f7895751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f7895751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f7895751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f7895751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f7895751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f7893b0724a __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 0x00007f7893b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f7893b0724a void clang::finalize>, 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 0x00007f7893b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f7895244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f78951f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f78951f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f78951f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f78952948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005590ff245a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005590ff24970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005590ff24b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005590ff23f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f788be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f788be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005590ff23f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-no-arc.mm.script: line 1: 557205 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (989 of 19712) ******************** TEST 'Clang :: Analysis/nullability-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f81c51d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f81c51ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f81c51d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f81c4254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f81cdc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f81cdc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f81cdc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f81cdc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f81cdc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f81cdc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f81cdc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f81cdc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f81cd8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f81cd8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f81cd8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f81cd8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f81cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f81cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f81cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f81cd8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f81cd8d4e65 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 #21 0x00007f81cd8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f81cd8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f81cd8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f81cd8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f81cd8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f81cd8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f81cd8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f81cd8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f81cd8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f81cd8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f81cd8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f81cd8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f81cd8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f81cd8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f81cd8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f81cd8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f81cd8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f81cd8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f81cd83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f81cd83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f81cd83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f81cd83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f81cd83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f81cd83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f81cd83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f81cd80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f81cd80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f81cd80953e 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 #49 0x00007f81cd850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f81cd850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f81cd850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f81cd85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f81cd85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f81cd85149e 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 #55 0x00007f81cdb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f81cdb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f81cdb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f81cdb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f81cdb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f81cdb4e0a7 llvm::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 0x00007f81cdb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f81cdb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f81cdb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f81cdb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f81cdb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f81cdb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f81cdb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f81cbf0724a __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 0x00007f81cbf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f81cbf0724a void clang::finalize>, 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 0x00007f81cbf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f81cd644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f81cd5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f81cd5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f81cd5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f81cd6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055eff2fc8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055eff2fcc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055eff2fce440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055eff2fc2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f81c423ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f81c423f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055eff2fc2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.script: line 3: 557217 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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_nullonly.mm (992 of 19712) ******************** TEST 'Clang :: Analysis/nullability_nullonly.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2e095d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2e095ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2e095d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2e08654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2e11c454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2e11c454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2e11c454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2e11c454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2e11c454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2e11c454e6 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 0x00007f2e11c454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2e11c454e6 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:0 #12 0x00007f2e120218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f2e120218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f2e120218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007f2e120218a5 (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 0x00007f2e11c1bfa7 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 0x00007f2e11c6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f2e11c6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f2e11c6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f2e11c6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f2e11c6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f2e11c6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f2e11c6f23c 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 0x00007f2e11c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007f2e11c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007f2e11c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007f2e11c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007f2e11c5109a clang::ento::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 0x00007f2e11f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f2e11f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f2e11f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007f2e11f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007f2e11f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007f2e11f4e0a7 llvm::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 0x00007f2e11f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007f2e11f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007f2e11f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007f2e11f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007f2e11f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007f2e11f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007f2e11f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007f2e1030724a __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 0x00007f2e1030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007f2e1030724a void clang::finalize>, 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 0x00007f2e1030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007f2e11a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007f2e119f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007f2e119f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007f2e119f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007f2e11a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000055f1a8bf5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000055f1a8bf970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000055f1a8bfb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000055f1a8bef903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007f2e0863ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007f2e0863f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x000055f1a8bef945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability_nullonly.mm.script: line 2: 557243 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nullability.mm (993 of 19712) ******************** TEST 'Clang :: Analysis/nullability.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1cc63d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1cc63ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1cc63d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1cc5454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1ccee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1ccee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1ccee35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1ccee35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1ccee35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1ccee35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1ccee35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1ccee35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1ccead408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1ccead408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1ccead408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1ccead408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1ccead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1ccead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1ccead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1ccead408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1ccead4e65 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 #21 0x00007f1ccead4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1ccead4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1ccead4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1cceab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1cceab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1cceab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1ccead643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1ccead643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1ccead643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1cceae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1cceae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1cceae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1cceae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1cceae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1cceae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1cceae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1cceae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1cceae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1ccea3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1ccea3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1ccea3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1ccea3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1ccea3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f1ccea3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f1ccea3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f1ccea0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f1ccea0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f1ccea0953e 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 #49 0x00007f1ccea50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f1ccea50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f1ccea50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f1ccea5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f1ccea5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f1ccea5149e 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 #55 0x00007f1cced4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f1cced4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f1cced4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f1cced4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f1cced4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f1cced4e0a7 llvm::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 0x00007f1cced4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f1cced4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f1cced51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f1cced51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f1cced51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f1cced51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f1cced51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f1ccd10724a __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 0x00007f1ccd10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f1ccd10724a void clang::finalize>, 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 0x00007f1ccd10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f1cce844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f1cce7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f1cce7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f1cce7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f1cce8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000555b75c5ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000555b75c6070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000555b75c62440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000555b75c56903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f1cc543ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f1cc543f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000555b75c56945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability.mm.script: line 4: 557238 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/nullptr.cpp (995 of 19712) ******************** TEST 'Clang :: Analysis/nullptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4bb25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4bb25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4bb25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4bb1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4bbb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4bbb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4bbb035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4bbb035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4bbb035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4bbb035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4bbb035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4bbb035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4bbacd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4bbacd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4bbacd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4bbacd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4bbacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4bbacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4bbacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4bbacd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4bbacd4e65 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 #21 0x00007f4bbacd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4bbacd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4bbacd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4bbacb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4bbacb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4bbacb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4bbacd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4bbacd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4bbacd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4bbace8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4bbace8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4bbace8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4bbace8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4bbace8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4bbace8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4bbace9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4bbace9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4bbace9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4bbac3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4bbac3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4bbac3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4bbac3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4bbac3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4bbac3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4bbac3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4bbac0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4bbac0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4bbac0953e 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 #49 0x00007f4bbac50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f4bbac50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f4bbac50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f4bbac5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f4bbac5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4bbac5149e 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 #55 0x00007f4bbaf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4bbaf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4bbaf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4bbaf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4bbaf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4bbaf4e0a7 llvm::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 0x00007f4bbaf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4bbaf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4bbaf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4bbaf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4bbaf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4bbaf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4bbaf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f4bb930724a __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 0x00007f4bb930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f4bb930724a void clang::finalize>, 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 0x00007f4bb930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4bbaa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f4bba9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f4bba9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f4bba9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4bbaa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055afbf77fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055afbf78370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055afbf785440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055afbf779903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f4bb163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f4bb163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055afbf779945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullptr.cpp.script: line 1: 557246 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-live-crash.mm (996 of 19712) ******************** TEST 'Clang :: Analysis/objc-live-crash.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007ffb50bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ffb50bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ffb50b2c749 (/usr/lib64/libLLVM-17.so+0x92c749) #3 0x00007ffb4fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffb5926f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007ffb5926f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ffb5926f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ffb5926f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ffb5926f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ffb5926f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ffb5926f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007ffb5926f83e 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 0x00007ffb59235656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007ffb59235656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007ffb59235656 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 0x00007ffb59235656 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 0x00007ffb5923722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007ffb5923722c 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 0x00007ffb592e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007ffb592e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007ffb592e0dd8 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 #21 0x00007ffb592e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007ffb592e1579 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 #23 0x00007ffb5927e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007ffb5927e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007ffb5927e6c7 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 #26 0x00007ffb5929353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007ffb5929353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007ffb5929353e 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 #29 0x00007ffb59293f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007ffb59293f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007ffb59293f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ffb59293f1d 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 #33 0x00007ffb5923ce4e 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 0x00007ffb59299b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007ffb59299b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007ffb59299b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007ffb59299b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007ffb59299b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007ffb59299b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007ffb59299b59 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 #41 0x00007ffb5929c69e 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 0x00007ffb5929c69e clang::ento::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 #43 0x00007ffb5929dc4e clang::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 0x00007ffb5929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ffb5923fac2 clang::ento::CoreEngine::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 0x00007ffb5925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007ffb5925109a clang::ento::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 0x00007ffb5954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007ffb5954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007ffb5954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007ffb5954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007ffb5954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007ffb5954e0a7 llvm::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 0x00007ffb5954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007ffb5954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007ffb59551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007ffb59551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007ffb59551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007ffb59551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007ffb59551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007ffb5790724a __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 0x00007ffb5790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007ffb5790724a void clang::finalize>, 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 0x00007ffb5790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007ffb59044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007ffb58ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007ffb58ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007ffb58ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007ffb590948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055d59a6cea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055d59a6d270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x00007ffb58d532bd operator() /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:32 #73 0x00007ffb58d532bd void llvm::function_ref::callback_fn>, std::__cxx11::basic_string, std::allocator>*, bool*) const::'lambda'()>(long) /usr/include/llvm/ADT/STLFunctionalExtras.h:45:52 #74 0x00007ffb50b2c52c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib64/libLLVM-17.so+0x92c52c) #75 0x00007ffb58d5c711 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:444:10 #76 0x00007ffb58d66a93 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:200:3 #77 0x00007ffb58d66d76 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 #78 0x00007ffb58d7272c llvm::SmallVectorBase::empty() const /usr/include/llvm/ADT/SmallVector.h:94:0 #79 0x00007ffb58d7272c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp:1906:0 #80 0x000055d59a6d4d75 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:32 #81 0x000055d59a6d4d75 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:41 #82 0x000055d59a6d4d75 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:544:26 #83 0x000055d59a6c8903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x00007ffb4fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #85 0x00007ffb4fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #86 0x000055d59a6c8945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) clang: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 17.0.6 (OpenCloudOS 17.0.6-4.ocs23) Target: x86_64-opencloudos-linux-gnu Thread model: posix InstalledDir: /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-jmlthtbc/objc-live-crash-7ca729.mm clang: note: diagnostic msg: /tmp/lit-tmp-jmlthtbc/objc-live-crash-7ca729.sh clang: note: diagnostic msg: ******************** -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-arc.m (997 of 19712) ******************** TEST 'Clang :: Analysis/objc-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fe2781d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe2781ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe2781d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe277254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe2808454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe2808454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe2808454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe2808454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe2808454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe2808454e6 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 0x00007fe2808454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe2808454e6 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:0 #12 0x00007fe280c218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fe280c218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fe280c218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007fe280c218a5 (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 0x00007fe28081bfa7 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 0x00007fe28086f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007fe28086f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007fe28086f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007fe28086f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007fe28086f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007fe28086f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007fe28086f23c 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 0x00007fe28089db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007fe28089df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007fe28083fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007fe28085109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007fe28085109a clang::ento::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 0x00007fe280b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fe280b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fe280b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007fe280b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007fe280b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007fe280b4e0a7 llvm::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 0x00007fe280b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007fe280b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007fe280b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007fe280b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007fe280b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007fe280b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007fe280b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007fe27ef0724a __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 0x00007fe27ef0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007fe27ef0724a void clang::finalize>, 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 0x00007fe27ef0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007fe280644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007fe2805f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007fe2805f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007fe2805f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007fe2806948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000056056116ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000056056116f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000560561171440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000560561165903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007fe27723ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007fe27723f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x0000560561165945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.script: line 2: 557285 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 (998 of 19712) ******************** TEST 'Clang :: Analysis/objc-for.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f75345d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f75345ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f75345d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7533654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f753cd16866 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f753cd16866 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f753cd16866 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f753cd16866 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f753cd16866 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f753cd16866 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 0x00007f753cd16866 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x00007f753cd16866 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 0x00007f753cd16866 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:990:0 #13 0x00007f753cd16866 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 0x00007f753cc1a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #15 0x00007f753cc1a9db 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:26 #16 0x00007f753cc9b4dd 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 0x00007f753cc9d3f7 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 0x00007f753cc9d3f7 clang::ento::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 0x00007f753cc9dc4e clang::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 0x00007f753cc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f753cc3fac2 clang::ento::CoreEngine::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 0x00007f753cc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007f753cc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007f753cf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007f753cf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007f753cf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007f753cf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007f753cf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007f753cf4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007f753cf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007f753cf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007f753cf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007f753cf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007f753cf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007f753cf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007f753cf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007f753b30724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007f753b30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007f753b30724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007f753b30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007f753ca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007f753c9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007f753c9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007f753c9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007f753ca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x00005591beb4ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x00005591beb5070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x00005591beb52440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x00005591beb46903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007f753363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007f753363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x00005591beb46945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-for.m.script: line 1: 557313 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-indirect-copy-restore.m (999 of 19712) ******************** TEST 'Clang :: Analysis/objc-indirect-copy-restore.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6bdd5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6bdd5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6bdd5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6bdc654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6be5c454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6be5c454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6be5c454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6be5c454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6be5c454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6be5c454e6 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 0x00007f6be5c454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6be5c454e6 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:0 #12 0x00007f6be60218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f6be60218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f6be60218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007f6be60218a5 (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 0x00007f6be5c1bfa7 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 0x00007f6be5c6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007f6be5c6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007f6be5c6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007f6be5c6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007f6be5c6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007f6be5c6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007f6be5c6f23c 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 0x00007f6be5c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007f6be5c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007f6be5c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007f6be5c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007f6be5c5109a clang::ento::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 0x00007f6be5f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f6be5f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f6be5f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007f6be5f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007f6be5f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007f6be5f4e0a7 llvm::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 0x00007f6be5f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007f6be5f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007f6be5f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007f6be5f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007f6be5f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007f6be5f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007f6be5f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007f6be430724a __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 0x00007f6be430724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007f6be430724a void clang::finalize>, 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 0x00007f6be430724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007f6be5a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007f6be59f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007f6be59f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007f6be59f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007f6be5a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x00005599a8d6ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x00005599a8d6f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x00005599a8d71440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x00005599a8d65903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007f6bdc63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007f6bdc63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x00005599a8d65945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-indirect-copy-restore.m.script: line 1: 557310 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/objcpp-uninitialized-object.mm (1001 of 19712) ******************** TEST 'Clang :: Analysis/objcpp-uninitialized-object.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007faae45d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007faae45ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007faae45d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007faae3654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faaecc6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007faaecc6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007faaecc6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007faaecc6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007faaecc6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007faaecc6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007faaecc6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007faaecc6efd6 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 0x00007faaecc9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007faaecc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007faaecc3f9ea 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 #15 0x00007faaecc3fb9e 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:223:0 #16 0x00007faaecc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007faaecc5109a clang::ento::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 0x00007faaecf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007faaecf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007faaecf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007faaecf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007faaecf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007faaecf4e0a7 llvm::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 0x00007faaecf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007faaecf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007faaecf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007faaecf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007faaecf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007faaecf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007faaecf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007faaeb30724a __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 0x00007faaeb30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007faaeb30724a void clang::finalize>, 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 0x00007faaeb30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007faaeca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007faaec9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007faaec9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007faaec9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007faaeca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000555f23810a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000555f2381470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000555f23816440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000555f2380a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007faae363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007faae363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000555f2380a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objcpp-uninitialized-object.mm.script: line 1: 557366 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/operator-calls.cpp (1002 of 19712) ******************** TEST 'Clang :: Analysis/operator-calls.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9fd81d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9fd81ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9fd81d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9fd7254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9fe086efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9fe086efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9fe086efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9fe086efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f9fe086efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f9fe086efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f9fe086efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f9fe086efd6 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 0x00007f9fe089db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f9fe089df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f9fe083f9ea 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 #15 0x00007f9fe083fb9e 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:223:0 #16 0x00007f9fe085109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f9fe085109a clang::ento::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 0x00007f9fe0b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f9fe0b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f9fe0b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f9fe0b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f9fe0b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f9fe0b4e0a7 llvm::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 0x00007f9fe0b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f9fe0b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f9fe0b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f9fe0b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f9fe0b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f9fe0b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f9fe0b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f9fdef0724a __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 0x00007f9fdef0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f9fdef0724a void clang::finalize>, 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 0x00007f9fdef0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f9fe0644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f9fe05f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f9fe05f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f9fe05f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f9fe06948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055b9fb2caa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055b9fb2ce70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055b9fb2d0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055b9fb2c4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f9fd723ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f9fd723f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055b9fb2c4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/operator-calls.cpp.script: line 1: 557390 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/objc-radar17039661.m (1003 of 19712) ******************** TEST 'Clang :: Analysis/objc-radar17039661.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007faf091d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007faf091ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007faf091d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007faf08254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faf11c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007faf11c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007faf11c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007faf11c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007faf11c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007faf11c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007faf11c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007faf11c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007faf118d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007faf118d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007faf118d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007faf118d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007faf118d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007faf118d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007faf118d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007faf118d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007faf118d4e65 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 #21 0x00007faf118d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007faf118d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007faf118d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007faf118d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007faf118d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007faf118d6cdb 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 #27 0x00007faf118d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007faf118d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007faf118d64ad 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 #30 0x00007faf118e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007faf118e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007faf118e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007faf118e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007faf118e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007faf118e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007faf118e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007faf118e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007faf118e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007faf1183da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007faf1183da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007faf1183da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007faf1183da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007faf11d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007faf11d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007faf11d86b68 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 #46 0x00007faf1186bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007faf1186bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007faf1186bf90 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 #49 0x00007faf1186bf90 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 #50 0x00007faf1186bf90 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 #51 0x00007faf1186bf90 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 #52 0x00007faf1186bf90 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 #53 0x00007faf1186bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007faf1186bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007faf1186bf90 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 #56 0x00007faf1183f21a 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:0 #57 0x00007faf1185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007faf1185109a clang::ento::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 0x00007faf11b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007faf11b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007faf11b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007faf11b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007faf11b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007faf11b4e0a7 llvm::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 0x00007faf11b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007faf11b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007faf11b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007faf11b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007faf11b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007faf11b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007faf11b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007faf0ff0724a __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 0x00007faf0ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007faf0ff0724a void clang::finalize>, 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 0x00007faf0ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007faf11644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007faf115f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007faf115f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007faf115f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007faf116948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055944b925a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055944b92970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055944b92b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055944b91f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007faf0823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007faf0823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055944b91f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.script: line 3: 557336 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-message.m (1004 of 19712) ******************** TEST 'Clang :: Analysis/objc-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb9663d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb9663ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb9663d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb965454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb96ee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb96ee35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb96ee35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb96ee35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb96ee35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb96ee35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb96ee35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb96ee35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb96ead408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb96ead408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb96ead408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb96ead408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb96ead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb96ead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb96ead408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb96ead408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb96ead4e65 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 #21 0x00007fb96ead4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb96ead4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb96ead4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb96eab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb96eab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb96eab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb96ead643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb96ead643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb96ead643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb96eae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb96eae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb96eae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb96eae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb96eae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb96eae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb96eae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb96eae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb96eae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb96ea3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb96ea3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb96ea3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb96ea3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb96ef86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb96ef86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb96ef86b68 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 #46 0x00007fb96ea69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb96ea69db3 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 #48 0x00007fb96ea69db3 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 #49 0x00007fb96ea9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fb96ea9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fb96ea9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fb96ea9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fb96ea9d93e clang::ento::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 #54 0x00007fb96ea9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fb96ea9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fb96ea3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fb96ea5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb96ea5109a clang::ento::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 0x00007fb96ed4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb96ed4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb96ed4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb96ed4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb96ed4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb96ed4e0a7 llvm::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 0x00007fb96ed4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb96ed4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb96ed51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb96ed51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb96ed51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb96ed51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb96ed51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb96d10724a __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 0x00007fb96d10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb96d10724a void clang::finalize>, 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 0x00007fb96d10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb96e844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb96e7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb96e7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb96e7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb96e8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055b6ea039a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055b6ea03d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055b6ea03f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055b6ea033903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb96543ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb96543f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055b6ea033945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-message.m.script: line 1: 557319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/direct-ivar-assignment-in-annotated-functions.m (1005 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f46c43d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f46c43ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f46c43d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f46c3454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f46cce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f46cce35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f46cce35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f46cce35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f46cce35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f46cce35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f46cce35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f46cce35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f46ccad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f46ccad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f46ccad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f46ccad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f46ccad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f46ccad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f46ccad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f46ccad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f46ccad4e65 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 #21 0x00007f46ccad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f46ccad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f46ccad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f46ccab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f46ccab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f46ccab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f46ccad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f46ccad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f46ccad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f46ccae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f46ccae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f46ccae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f46ccae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f46ccae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f46ccae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f46ccae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f46ccae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f46ccae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f46cca3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f46cca3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f46cca3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f46cca3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f46cca3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f46cca3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f46cca3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f46cca0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f46cca0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f46cca0953e 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 #49 0x00007f46cca50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f46cca50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f46cca50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f46cca5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f46cca5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f46cca5149e 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 #55 0x00007f46ccd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f46ccd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f46ccd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f46ccd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f46ccd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f46ccd4e0a7 llvm::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 0x00007f46ccd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f46ccd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f46ccd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f46ccd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f46ccd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f46ccd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f46ccd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f46cb10724a __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 0x00007f46cb10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f46cb10724a void clang::finalize>, 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 0x00007f46cb10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f46cc844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f46cc7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f46cc7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f46cc7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f46cc8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000559afb285a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000559afb28970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000559afb28b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000559afb27f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f46c343ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f46c343f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000559afb27f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/objc/Output/direct-ivar-assignment-in-annotated-functions.m.script: line 1: 557361 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/objc-boxing.m (1006 of 19712) ******************** TEST 'Clang :: Analysis/objc-boxing.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa6e4bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa6e4bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa6e4bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa6e3c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa6ed635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa6ed635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa6ed635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa6ed635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa6ed635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa6ed635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa6ed635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa6ed635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa6ed2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa6ed2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa6ed2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa6ed2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa6ed2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa6ed2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa6ed2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa6ed2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa6ed2d4e65 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 #21 0x00007fa6ed2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa6ed2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa6ed2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa6ed2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa6ed2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa6ed2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa6ed2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa6ed2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa6ed2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa6ed2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa6ed2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa6ed2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa6ed2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa6ed2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa6ed2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa6ed2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa6ed2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa6ed2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa6ed23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa6ed23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa6ed23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa6ed23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa6ed23df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa6ed23df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa6ed23df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa6ed73c040 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa6ed73c040 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa6ed73c040 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 #49 0x00007fa6ed73c040 (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 #50 0x00007fa6ed30c026 llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:0 #51 0x00007fa6ed30c026 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 #52 0x00007fa6ed30c026 assumeExprIsNonNull /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1160:0 #53 0x00007fa6ed30c026 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1170:0 #54 0x00007fa6ed30c026 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 #55 0x00007fa6ed21a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #56 0x00007fa6ed21a9db 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:26 #57 0x00007fa6ed29d65e 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 0x00007fa6ed29d65e clang::ento::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 #59 0x00007fa6ed29dc4e clang::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 0x00007fa6ed29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa6ed23fac2 clang::ento::CoreEngine::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 0x00007fa6ed25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #63 0x00007fa6ed25109a clang::ento::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 0x00007fa6ed54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #65 0x00007fa6ed54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #66 0x00007fa6ed54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #67 0x00007fa6ed54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #68 0x00007fa6ed54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #69 0x00007fa6ed54e0a7 llvm::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 0x00007fa6ed54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x00007fa6ed54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #72 0x00007fa6ed551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x00007fa6ed551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x00007fa6ed551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x00007fa6ed551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x00007fa6ed551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x00007fa6eb90724a __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 0x00007fa6eb90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x00007fa6eb90724a void clang::finalize>, 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 0x00007fa6eb90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x00007fa6ed044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #82 0x00007fa6ecff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #83 0x00007fa6ecff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #84 0x00007fa6ecff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #85 0x00007fa6ed0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #86 0x000055f779c47a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x000055f779c4b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x000055f779c4d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x000055f779c41903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x00007fa6e3c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #91 0x00007fa6e3c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #92 0x000055f779c41945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-boxing.m.script: line 1: 557293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-subscript.m (1007 of 19712) ******************** TEST 'Clang :: Analysis/objc-subscript.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f45595d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f45595ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f45595d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4558654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4562035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4562035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4562035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4562035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4562035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4562035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4562035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4562035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4561cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4561cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4561cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4561cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4561cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4561cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4561cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4561cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4561cd4e65 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 #21 0x00007f4561cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4561cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4561cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4561cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4561cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4561cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4561cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4561cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4561cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4561ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4561ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4561ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4561ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4561ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4561ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4561ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4561ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4561ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4561c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4561c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4561c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4561c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4561c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4561c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4561c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4561c0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4561c0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4561c0953e 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 #49 0x00007f4561c50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f4561c50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f4561c50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f4561c5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f4561c5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4561c5149e 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 #55 0x00007f4561f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4561f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4561f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4561f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4561f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4561f4e0a7 llvm::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 0x00007f4561f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4561f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4561f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4561f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4561f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4561f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4561f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f456030724a __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 0x00007f456030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f456030724a void clang::finalize>, 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 0x00007f456030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4561a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f45619f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f45619f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f45619f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4561a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055f705ab9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055f705abd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055f705abf440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055f705ab3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f455863ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f455863f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055f705ab3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-subscript.m.script: line 1: 557356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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_invalidation.m (1008 of 19712) ******************** TEST 'Clang :: Analysis/objc_invalidation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f741a3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f741a3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f741a3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7419454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7422e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7422e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7422e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7422e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7422e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7422e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7422e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7422e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7422ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7422ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7422ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7422ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7422ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7422ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7422ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7422ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7422ad4e65 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 #21 0x00007f7422ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7422ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7422ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7422ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7422ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7422ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7422ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7422ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7422ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7422ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7422ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7422ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7422ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7422ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7422ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7422ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7422ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7422ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7422a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7422a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7422a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7422a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7422a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7422a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7422a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7422a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7422a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7422a0953e 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 #49 0x00007f7422a50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f7422a50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f7422a50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f7422a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f7422a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f7422a5149e 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 #55 0x00007f7422d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f7422d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f7422d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f7422d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f7422d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f7422d4e0a7 llvm::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 0x00007f7422d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f7422d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f7422d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f7422d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f7422d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f7422d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f7422d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f742110724a __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 0x00007f742110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f742110724a void clang::finalize>, 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 0x00007f742110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f7422844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f74227f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f74227f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f74227f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f74228948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005564342a2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005564342a670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005564342a8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055643429c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f741943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f741943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055643429c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc_invalidation.m.script: line 2: 557368 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/osobject-retain-release.cpp (1009 of 19712) ******************** TEST 'Clang :: Analysis/osobject-retain-release.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa1c35d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa1c35ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa1c35d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa1ccd1fad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa1cbc72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa1cbc72b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa1cbc72b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa1cbc72b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fa1cbc72b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fa1cbc72b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fa1cbc72b29 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:89 #11 0x00007fa1cbc72e8c 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 #12 0x00007fa1cbc72e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fa1cbc72e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fa1cbc72e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fa1cbc72e8c 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:53 #16 0x00007fa1cbc73545 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007fa1cbc73545 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007fa1cbc73545 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:65 #19 0x00007fa1cbc927d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x00007fa1cbc927d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007fa1cbc927d0 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 #22 0x00007fa1cbc927d0 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 #23 0x00007fa1cbc9333c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fa1cbc9333c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fa1cbc9333c 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 #26 0x00007fa1cbc93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007fa1cbc93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007fa1cbc93c90 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 #29 0x00007fa1cbc3ce4e 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 #30 0x00007fa1cbc7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #31 0x00007fa1cbc7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #32 0x00007fa1cbc7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #33 0x00007fa1cbc7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #34 0x00007fa1cbc7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #35 0x00007fa1cbc7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #36 0x00007fa1cbc7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #37 0x00007fa1cbc7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #38 0x00007fa1cbc7eb8e 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:695:0 #39 0x00007fa1cbc7f767 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:0 #40 0x00007fa1cbc9c6f1 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 0x00007fa1cbc9c6f1 clang::ento::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 #42 0x00007fa1cbc9dc4e clang::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 0x00007fa1cbc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa1cbc3fac2 clang::ento::CoreEngine::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 0x00007fa1cbc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #46 0x00007fa1cbc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #47 0x00007fa1cbf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x00007fa1cbf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x00007fa1cbf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #50 0x00007fa1cbf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #51 0x00007fa1cbf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #52 0x00007fa1cbf4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #53 0x00007fa1cbf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #54 0x00007fa1cbf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #55 0x00007fa1cbf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x00007fa1cbf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x00007fa1cbf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #58 0x00007fa1cbf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #59 0x00007fa1cbf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #60 0x00007fa1ca30724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #61 0x00007fa1ca30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #62 0x00007fa1ca30724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #63 0x00007fa1ca30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #64 0x00007fa1cba44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #65 0x00007fa1cb9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #66 0x00007fa1cb9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #67 0x00007fa1cb9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #68 0x00007fa1cba948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #69 0x0000558acbf38a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #70 0x0000558acbf3c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #71 0x0000558acbf3e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #72 0x0000558acbf32903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #73 0x00007fa1ccd09f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #74 0x00007fa1ccd0a009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #75 0x0000558acbf32945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/osobject-retain-release.cpp.script: line 1: 557401 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/objc-string.mm (1010 of 19712) ******************** TEST 'Clang :: Analysis/objc-string.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm 1. parser at end of file 2. While analyzing stack: #0 Calling rdar13773117::testGlobals() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm:19:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm:19:5: Error evaluating statement #0 0x00007f1b12dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1b12dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1b12dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1b11e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1b1b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1b1b835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1b1b835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1b1b835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1b1b835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1b1b835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1b1b835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1b1b835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1b1b4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1b1b4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1b1b4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1b1b4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1b1b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1b1b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1b1b4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1b1b4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1b1b4d4e65 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 #21 0x00007f1b1b4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1b1b4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1b1b4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1b1b4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1b1b4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1b1b4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1b1b4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1b1b4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1b1b4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1b1b4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1b1b4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1b1b4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1b1b4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1b1b4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1b1b4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1b1b4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1b1b4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1b1b4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1b1b43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1b1b43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1b1b43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1b1b43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1b1b98e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1b1b98e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1b1b98e15d 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 #46 0x00007f1b1b98e15d 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 #47 0x00007f1b1b588a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007f1b1b588a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007f1b1b588a58 (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 #50 0x00007f1b1b5aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007f1b1b5aaac1 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:48 #52 0x00007f1b1b43cd48 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 #53 0x00007f1b1b47eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007f1b1b47eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007f1b1b47eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007f1b1b47eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007f1b1b47eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007f1b1b47eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007f1b1b47eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007f1b1b47eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007f1b1b47eb8e 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:695:0 #62 0x00007f1b1b47f767 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:0 #63 0x00007f1b1b49c6f1 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 0x00007f1b1b49c6f1 clang::ento::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 0x00007f1b1b49dc4e clang::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 0x00007f1b1b49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f1b1b43fac2 clang::ento::CoreEngine::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 0x00007f1b1b45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007f1b1b45109a clang::ento::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 0x00007f1b1b74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007f1b1b74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007f1b1b74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007f1b1b74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007f1b1b74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007f1b1b74e0a7 llvm::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 0x00007f1b1b74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007f1b1b74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007f1b1b751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007f1b1b751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007f1b1b751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007f1b1b751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007f1b1b751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007f1b19b0724a __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 0x00007f1b19b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007f1b19b0724a void clang::finalize>, 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 0x00007f1b19b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007f1b1b244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007f1b1b1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007f1b1b1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007f1b1b1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007f1b1b2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000055afafa5ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000055afafa6070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000055afafa62440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000055afafa56903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007f1b11e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007f1b11e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x000055afafa56945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-string.mm.script: line 1: 557342 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/outofbound.c (1011 of 19712) ******************** TEST 'Clang :: Analysis/outofbound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3321fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3321fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3321fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3321054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f332a6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f332a6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f332a6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f332a6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f332a6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f332a6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f332a66f34b 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 #11 0x00007f332a66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f332a66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f332a66f34b 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:50 #14 0x00007f332a69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f332a69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f332a63f9ea 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 #17 0x00007f332a63fb9e 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:223:0 #18 0x00007f332a65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f332a65109a clang::ento::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 0x00007f332a94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f332a94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f332a94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f332a94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f332a94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f332a94e0a7 llvm::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 0x00007f332a94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f332a94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f332a951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f332a951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f332a951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f332a951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f332a951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f3328d0724a __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 0x00007f3328d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f3328d0724a void clang::finalize>, 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 0x00007f3328d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f332a444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f332a3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f332a3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f332a3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f332a4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000562a5daf7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000562a5dafb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000562a5dafd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000562a5daf1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f332103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f332103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000562a5daf1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/outofbound.c.script: line 1: 557435 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/out-of-bounds-new.cpp (1012 of 19712) ******************** TEST 'Clang :: Analysis/out-of-bounds-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6dfc3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6dfc3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6dfc3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6dfb454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6e04e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6e04e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6e04e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6e04e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6e04e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6e04e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6e04e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6e04e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6e04ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6e04ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6e04ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6e04ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6e04ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6e04ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6e04ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6e04ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6e04ad4e65 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 #21 0x00007f6e04ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6e04ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6e04ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6e04ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6e04ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6e04ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6e04ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6e04ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6e04ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6e04ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6e04ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6e04ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6e04ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6e04ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6e04ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6e04ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6e04ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6e04ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6e04a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6e04a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6e04a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6e04a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6e04a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f6e04a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f6e04a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f6e04a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f6e04a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f6e04a97620 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 #49 0x00007f6e04a97620 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 #50 0x00007f6e04a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f6e04a977b2 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 0x00007f6e04a9dfaf clang::ento::ExprEngine::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 0x00007f6e04a3fac2 clang::ento::CoreEngine::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 0x00007f6e04a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f6e04a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f6e04d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f6e04d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f6e04d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f6e04d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f6e04d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f6e04d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f6e04d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f6e04d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f6e04d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f6e04d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f6e04d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f6e04d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f6e04d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f6e0310724a __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 0x00007f6e0310724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f6e0310724a void clang::finalize>, 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 0x00007f6e0310724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f6e04844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f6e047f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f6e047f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f6e047f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f6e048948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000056196397aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000056196397e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000561963980440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000561963974903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f6dfb43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f6dfb43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000561963974945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds-new.cpp.script: line 1: 557415 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1013 of 19712) ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f846dfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f846dfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f846dfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f846d054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f84766c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f84766c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f84766c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f84766c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f84766c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f84766c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f84766c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f84766c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f84766c6be6 (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 0x00007f84766c7048 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 #14 0x00007f84766c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f84766c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f84766c7048 (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 #17 0x00007f84766b4497 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007f84766b4497 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f84766b4497 (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 #20 0x00007f8476b3bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #21 0x00007f8476b3bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #22 0x00007f8476b3bf33 (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 #23 0x00007f84766b4298 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 #24 0x00007f84766b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f84766b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f84766b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #27 0x00007f84766b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #28 0x00007f84766ea4ea llvm::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 0x00007f84766ea4ea llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x00007f84766ea4ea llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f84766ea4ea (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #32 0x00007f8476702462 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:22 #33 0x00007f8476a31ffb llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #34 0x00007f8476a31ffb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #35 0x00007f8476a31ffb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007f8476a31ffb (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 #37 0x00007f847661b7ad 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:5 #38 0x00007f8476668471 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 0x00007f8476668471 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 0x00007f847666e9d7 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 0x00007f847666e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x00007f847666e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x00007f847666e9d7 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 #44 0x00007f84766762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x00007f84766762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f84766762c7 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:51 #47 0x00007f847669d82f 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 #48 0x00007f847669d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #49 0x00007f847669dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x00007f847669df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x00007f847663fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x00007f847665109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x00007f847665109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x00007f847694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x00007f847694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x00007f847694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x00007f847694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x00007f847694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x00007f847694e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x00007f847694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x00007f847694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x00007f8476951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x00007f8476951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x00007f8476951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x00007f8476951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x00007f8476951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x00007f8474d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x00007f8474d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x00007f8474d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x00007f8474d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x00007f8476444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x00007f84763f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x00007f84763f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x00007f84763f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x00007f84764948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000055b922c84a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000055b922c8870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000055b922c8a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000055b922c7e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x00007f846d03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #81 0x00007f846d03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #82 0x000055b922c7e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds.c.script: line 1: 557418 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/override-werror.c (1015 of 19712) ******************** TEST 'Clang :: Analysis/override-werror.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f68273d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f68273ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f68273d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6826454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f682fe35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f682fe35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f682fe35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f682fe35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f682fe35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f682fe35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f682fe35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f682fe35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f682fad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f682fad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f682fad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f682fad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f682fad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f682fad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f682fad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f682fad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f682fad4e65 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 #21 0x00007f682fad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f682fad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f682fad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f682fab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f682fab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f682fab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f682fad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f682fad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f682fad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f682fae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f682fae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f682fae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f682fae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f682fae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f682fae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f682fae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f682fae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f682fae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f682fa3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f682fa3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f682fa3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f682fa3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f682ff86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f682ff86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f682ff86b68 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 #46 0x00007f682fa69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f682fa69db3 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 #48 0x00007f682fa69db3 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 #49 0x00007f682fa9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f682fa9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f682fa9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f682fa9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f682fa9d93e clang::ento::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 #54 0x00007f682fa9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f682fa9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f682fa3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f682fa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f682fa5109a clang::ento::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 0x00007f682fd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f682fd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f682fd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f682fd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f682fd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f682fd4e0a7 llvm::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 0x00007f682fd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f682fd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f682fd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f682fd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f682fd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f682fd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f682fd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f682e10724a __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 0x00007f682e10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f682e10724a void clang::finalize>, 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 0x00007f682e10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f682f844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f682f7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f682f7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f682f7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f682f8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055c9a2335a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055c9a233970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055c9a233b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055c9a232f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f682643ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f682643f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055c9a232f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/override-werror.c.script: line 2: 557451 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/placement-new.cpp (1016 of 19712) ******************** TEST 'Clang :: Analysis/placement-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f35231d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f35231ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f35231d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3522254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f352b86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f352b86efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f352b86efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f352b86efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f352b86efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f352b86efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f352b86efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f352b86efd6 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 0x00007f352b89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f352b89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f352b83f9ea 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 #15 0x00007f352b83fb9e 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:223:0 #16 0x00007f352b85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f352b85109a clang::ento::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 0x00007f352bb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f352bb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f352bb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f352bb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f352bb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f352bb4e0a7 llvm::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 0x00007f352bb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f352bb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f352bb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f352bb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f352bb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f352bb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f352bb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f3529f0724a __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 0x00007f3529f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f3529f0724a void clang::finalize>, 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 0x00007f3529f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f352b644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f352b5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f352b5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f352b5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f352b6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000563e3a148a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000563e3a14c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000563e3a14e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000563e3a142903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f352223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f352223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000563e3a142945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new.cpp.script: line 1: 557499 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/placement-new-user-defined.cpp (1017 of 19712) ******************** TEST 'Clang :: Analysis/placement-new-user-defined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f73135d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f73135ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f73135d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7312654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f731bc6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f731bc6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f731bc6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f731bc6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f731bc6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f731bc6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f731bc6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f731bc6efd6 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 0x00007f731bc810f3 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x00007f731bc810f3 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x00007f731bc810f3 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x00007f731bc810f3 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x00007f731bc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f731bc5109a clang::ento::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 0x00007f731bf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f731bf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f731bf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f731bf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f731bf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f731bf4e0a7 llvm::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 0x00007f731bf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f731bf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f731bf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f731bf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f731bf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f731bf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f731bf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f731a30724a __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 0x00007f731a30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f731a30724a void clang::finalize>, 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 0x00007f731a30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f731ba44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f731b9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f731b9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f731b9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f731ba948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000562c6ab9ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000562c6aba270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000562c6aba4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000562c6ab98903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f731263ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f731263f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000562c6ab98945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new-user-defined.cpp.script: line 1: 557491 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/path-notes-impl-param.m (1018 of 19712) ******************** TEST 'Clang :: Analysis/path-notes-impl-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd8eb9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd8eb9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd8eb9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd8eaa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd8f40454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd8f40454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd8f40454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd8f40454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd8f40454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd8f40454e6 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 0x00007fd8f40454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd8f40454e6 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:0 #12 0x00007fd8f44218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fd8f44218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fd8f44218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007fd8f44218a5 (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 0x00007fd8f401bfa7 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 0x00007fd8f406f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007fd8f406f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007fd8f406f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007fd8f406f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007fd8f406f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007fd8f406f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007fd8f406f23c 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 0x00007fd8f409db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007fd8f409df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007fd8f403fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007fd8f405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007fd8f405109a clang::ento::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 0x00007fd8f434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fd8f434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fd8f434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007fd8f434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007fd8f434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007fd8f434e0a7 llvm::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 0x00007fd8f434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007fd8f434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007fd8f4351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007fd8f4351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007fd8f4351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007fd8f4351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007fd8f4351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007fd8f270724a __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 0x00007fd8f270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007fd8f270724a void clang::finalize>, 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 0x00007fd8f270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007fd8f3e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007fd8f3df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007fd8f3df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007fd8f3df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007fd8f3e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000055eeb81efa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000055eeb81f370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000055eeb81f5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000055eeb81e9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007fd8eaa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007fd8eaa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x000055eeb81e9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/path-notes-impl-param.m.script: line 1: 557486 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-diagnostics-template-record.cpp (1023 of 19712) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-record.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f2beafd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2beafceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2beafd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2bea054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2bf366f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f2bf366f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f2bf366f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f2bf366f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f2bf366f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f2bf366f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f2bf366f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f2bf366f83e 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 0x00007f2bf3635656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f2bf3635656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f2bf3635656 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 0x00007f2bf3635656 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 0x00007f2bf363722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f2bf363722c 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 0x00007f2bf36e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f2bf36e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f2bf36e0dd8 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 #21 0x00007f2bf36e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f2bf36e1579 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 #23 0x00007f2bf367e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f2bf367e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f2bf367e6c7 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 #26 0x00007f2bf369353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f2bf369353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f2bf369353e 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 #29 0x00007f2bf3693f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f2bf3693f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f2bf3693f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2bf3693f1d 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 #33 0x00007f2bf363ce4e 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 0x00007f2bf3699b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f2bf3699b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f2bf3699b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f2bf3699b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f2bf3699b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f2bf3699b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f2bf3699b59 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 #41 0x00007f2bf369c69e 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 0x00007f2bf369c69e clang::ento::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 #43 0x00007f2bf369dc4e clang::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 0x00007f2bf369df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f2bf363fac2 clang::ento::CoreEngine::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 0x00007f2bf365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f2bf365109a clang::ento::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 0x00007f2bf394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f2bf394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f2bf394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f2bf394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f2bf394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f2bf394e0a7 llvm::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 0x00007f2bf394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f2bf394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f2bf3951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f2bf3951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f2bf3951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f2bf3951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f2bf3951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f2bf1d0724a __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 0x00007f2bf1d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f2bf1d0724a void clang::finalize>, 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 0x00007f2bf1d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f2bf3444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f2bf33f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f2bf33f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f2bf33f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f2bf34948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x0000562e799daa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000562e799de70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000562e799e0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000562e799d4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f2bea03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f2bea03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x0000562e799d4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.script: line 2: 557516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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-diagnostics-template-function.cpp (1024 of 19712) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-function.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fe1e25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe1e25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe1e25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe1e1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe1eb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe1eb035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe1eb035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe1eb035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe1eb035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe1eb035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe1eb035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe1eb035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe1eacd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe1eacd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe1eacd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe1eacd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe1eacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe1eacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe1eacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe1eacd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe1eacd4c2b 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 #21 0x00007fe1eacd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe1eacd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe1eacd4c2b (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:31 #24 0x00007fe1eacd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe1eacd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe1eacd6cdb 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 #27 0x00007fe1eacd64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe1eacd64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe1eacd64ad 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 #30 0x00007fe1eace8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe1eace8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe1eace8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe1eace8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe1eace8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe1eace8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe1eace9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe1eace9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe1eace9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe1eac3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe1eac3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe1eac3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe1eac3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe1eb186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe1eb186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe1eb186b68 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 #46 0x00007fe1eac6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fe1eac6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fe1eac6bf90 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 #49 0x00007fe1eac6bf90 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 #50 0x00007fe1eac6bf90 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 #51 0x00007fe1eac6bf90 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 #52 0x00007fe1eac6bf90 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 #53 0x00007fe1eac6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fe1eac6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fe1eac6bf90 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 #56 0x00007fe1eac3f21a 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:0 #57 0x00007fe1eac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe1eac5109a clang::ento::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 0x00007fe1eaf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe1eaf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe1eaf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe1eaf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe1eaf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe1eaf4e0a7 llvm::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 0x00007fe1eaf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe1eaf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe1eaf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe1eaf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe1eaf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe1eaf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe1eaf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe1e930724a __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 0x00007fe1e930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe1e930724a void clang::finalize>, 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 0x00007fe1e930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe1eaa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe1ea9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe1ea9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe1ea9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe1eaa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000564fed91ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000564fed92270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000564fed924440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000564fed918903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe1e163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe1e163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000564fed918945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.script: line 2: 557512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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-html-macros.c (1025 of 19712) ******************** TEST 'Clang :: Analysis/plist-html-macros.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007fd18dfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd18dfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd18dfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd18d054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd196a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd196a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd196a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd196a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd196a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd196a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd196a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd196a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd1966d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd1966d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd1966d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd1966d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd1966d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd1966d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd1966d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd1966d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd1966d4e65 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 #21 0x00007fd1966d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd1966d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd1966d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd1966b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd1966b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd1966b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fd1966d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd1966d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd1966d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fd1966e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd1966e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd1966e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd1966e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd1966e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd1966e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd1966e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd1966e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd1966e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd19663da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd19663da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd19663da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd19663da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd196b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fd196b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fd196b86b68 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 #46 0x00007fd19666bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fd19666bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fd19666bf90 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 #49 0x00007fd19666bf90 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 #50 0x00007fd19666bf90 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 #51 0x00007fd19666bf90 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 #52 0x00007fd19666bf90 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 #53 0x00007fd19666bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fd19666bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fd19666bf90 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 #56 0x00007fd19663f21a 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:0 #57 0x00007fd19665109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fd19665109a clang::ento::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 0x00007fd19694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fd19694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fd19694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fd19694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fd19694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fd19694e0a7 llvm::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 0x00007fd19694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fd19694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fd196951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fd196951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fd196951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fd196951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fd196951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fd194d0724a __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 0x00007fd194d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fd194d0724a void clang::finalize>, 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 0x00007fd194d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fd196444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fd1963f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fd1963f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fd1963f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fd1964948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e59b93ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e59b93f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e59b941440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e59b935903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fd18d03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fd18d03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e59b935945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.script: line 6: 557527 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-alternate.m (1026 of 19712) ******************** TEST 'Clang :: Analysis/plist-output-alternate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f11327d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f11327ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f11327d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1131854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f113b0aa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f113b0aa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f113b0aa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f113b0aa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f113b0aa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f113b0aa5d6 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 0x00007f113b0aa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f113b0aa5d6 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:0 #12 0x00007f113ae1bfa7 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 0x00007f113ae6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f113ae6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f113ae6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f113ae6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f113ae6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f113ae6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f113ae6f23c 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 0x00007f113ae9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f113ae9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f113ae3fac2 clang::ento::CoreEngine::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 0x00007f113ae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f113ae5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f113b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f113b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f113b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f113b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f113b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f113b14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f113b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f113b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f113b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f113b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f113b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f113b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f113b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f113950724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f113950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f113950724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f113950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f113ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f113abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f113abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f113abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f113ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000056172b0bba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000056172b0bf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000056172b0c1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000056172b0b5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f113183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f113183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000056172b0b5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.script: line 2: 557564 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/pointer-to-member.cpp (1027 of 19712) ******************** TEST 'Clang :: Analysis/pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2b513d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2b513ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2b513d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2b50454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2b59a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f2b59a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f2b59a7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f2b59a7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f2b59a7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f2b59a7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f2b59a7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f2b59a7d99e 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 0x00007f2b59a3ed11 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 0x00007f2b59a3fc1e 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 0x00007f2b59a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f2b59a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f2b59d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f2b59d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f2b59d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f2b59d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f2b59d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f2b59d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f2b59d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f2b59d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f2b59d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f2b59d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f2b59d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f2b59d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f2b59d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f2b5810724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f2b5810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f2b5810724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f2b5810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f2b59844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f2b597f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f2b597f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f2b597f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f2b598948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055c974f00a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055c974f0470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055c974f06440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055c974efa903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f2b5043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f2b5043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055c974efa945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pointer-to-member.cpp.script: line 1: 557597 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-macros.cpp (1028 of 19712) ******************** TEST 'Clang :: Analysis/plist-macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f9dca3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9dca3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9dca3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9dc9454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9dd2e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9dd2e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9dd2e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9dd2e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9dd2e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9dd2e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9dd2e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9dd2e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9dd2ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9dd2ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9dd2ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9dd2ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9dd2ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9dd2ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9dd2ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9dd2ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9dd2ad4e65 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 #21 0x00007f9dd2ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9dd2ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9dd2ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9dd2ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9dd2ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9dd2ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9dd2ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9dd2ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9dd2ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9dd2ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9dd2ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9dd2ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9dd2ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9dd2ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9dd2ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9dd2ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9dd2ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9dd2ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9dd2a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9dd2a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9dd2a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9dd2a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9dd2f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9dd2f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9dd2f86b68 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 #46 0x00007f9dd2a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f9dd2a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f9dd2a6bf90 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 #49 0x00007f9dd2a6bf90 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 #50 0x00007f9dd2a6bf90 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 #51 0x00007f9dd2a6bf90 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 #52 0x00007f9dd2a6bf90 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 #53 0x00007f9dd2a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f9dd2a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f9dd2a6bf90 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 #56 0x00007f9dd2a3f21a 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:0 #57 0x00007f9dd2a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f9dd2a5109a clang::ento::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 0x00007f9dd2d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f9dd2d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f9dd2d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f9dd2d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f9dd2d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f9dd2d4e0a7 llvm::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 0x00007f9dd2d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f9dd2d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f9dd2d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f9dd2d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f9dd2d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f9dd2d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f9dd2d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f9dd110724a __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 0x00007f9dd110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f9dd110724a void clang::finalize>, 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 0x00007f9dd110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f9dd2844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f9dd27f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f9dd27f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f9dd27f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f9dd28948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000564019a91a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000564019a9570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000564019a97440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000564019a8b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f9dc943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f9dc943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000564019a8b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.script: line 3: 557559 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/pr37802.cpp (1029 of 19712) ******************** TEST 'Clang :: Analysis/pr37802.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f94b05d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f94b05ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f94b05d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f94af654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f94b8c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f94b8c6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f94b8c6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f94b8c6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f94b8c6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f94b8c6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f94b8c6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f94b8c6efd6 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 0x00007f94b8c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f94b8c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f94b8c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f94b8c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f94b8c5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f94b8f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f94b8f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f94b8f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f94b8f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f94b8f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f94b8f4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f94b8f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f94b8f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f94b8f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f94b8f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f94b8f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f94b8f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f94b8f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f94b730724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f94b730724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f94b730724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f94b730724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f94b8a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f94b89f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f94b89f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f94b89f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f94b8a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000056035df62a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000056035df6670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000056035df68440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000056035df5c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f94af63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f94af63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x000056035df5c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr37802.cpp.script: line 1: 557601 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/plist-output.m (1030 of 19712) ******************** TEST 'Clang :: Analysis/plist-output.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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:192:7: Error evaluating branch #0 0x00007f1e6edd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1e6edceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1e6edd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1e6de54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1e77835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1e77835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1e77835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1e77835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1e77835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1e77835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1e77835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1e77835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1e774d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1e774d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1e774d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1e774d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1e774d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1e774d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1e774d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1e774d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1e774d4e65 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 #21 0x00007f1e774d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1e774d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1e774d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1e774b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1e774b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1e774b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1e774d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1e774d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1e774d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1e774e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1e774e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1e774e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1e774e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1e774e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1e774e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1e774e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1e774e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1e774e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1e7743da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1e7743da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1e7743da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1e7743da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1e77986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1e77986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1e77986b68 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 #46 0x00007f1e7746bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f1e7746bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f1e7746bf90 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 #49 0x00007f1e7746bf90 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 #50 0x00007f1e7746bf90 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 #51 0x00007f1e7746bf90 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 #52 0x00007f1e7746bf90 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 #53 0x00007f1e7746bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f1e7746bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f1e7746bf90 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 #56 0x00007f1e7743f21a 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:0 #57 0x00007f1e7745109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f1e7745109a clang::ento::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 0x00007f1e7774c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1e7774c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1e7774c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f1e7774c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f1e7774c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f1e7774e0a7 llvm::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 0x00007f1e7774e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f1e7774e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1e77751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1e77751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1e77751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1e77751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1e77751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f1e75b0724a __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 0x00007f1e75b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f1e75b0724a void clang::finalize>, 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 0x00007f1e75b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1e77244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1e771f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1e771f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1e771f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1e772948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055c3fed6da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055c3fed7170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055c3fed73440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055c3fed67903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1e6de3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1e6de3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055c3fed67945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.script: line 2: 557570 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr4209.m (1032 of 19712) ******************** TEST 'Clang :: Analysis/pr4209.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f658e7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f658e7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f658e7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f658d854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6597235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6597235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6597235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6597235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6597235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6597235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6597235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6597235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6596ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6596ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6596ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6596ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6596ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6596ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6596ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6596ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6596ed4e65 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 #21 0x00007f6596ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6596ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6596ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6596eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6596eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6596eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6596ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6596ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6596ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6596ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6596ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6596ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6596ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6596ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6596ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6596ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6596ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6596ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6596e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6596e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6596e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6596e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6596e3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f6596e3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f6596e3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f6596e0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f6596e0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f6596e0953e 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 #49 0x00007f6596e50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f6596e50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f6596e50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f6596e5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f6596e5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f6596e5149e 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 #55 0x00007f659714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f659714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f659714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f659714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f659714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f659714e0a7 llvm::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 0x00007f659714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f659714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f6597151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f6597151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f6597151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f6597151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f6597151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f659550724a __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 0x00007f659550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f659550724a void clang::finalize>, 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 0x00007f659550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f6596c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f6596bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f6596bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f6596bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f6596c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005573e4b17a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005573e4b1b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005573e4b1d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005573e4b11903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f658d83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f658d83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005573e4b11945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr4209.m.script: line 1: 557611 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1033 of 19712) ******************** TEST 'Clang :: Analysis/pr_2542_rdar_6793404.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fed46dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fed46dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fed46dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fed45e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fed4f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fed4f835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fed4f835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fed4f835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fed4f835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fed4f835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fed4f835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fed4f835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fed4f4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fed4f4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fed4f4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fed4f4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fed4f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fed4f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fed4f4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fed4f4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fed4f4d4e65 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 #21 0x00007fed4f4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fed4f4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fed4f4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fed4f4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fed4f4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fed4f4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fed4f4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fed4f4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fed4f4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fed4f4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fed4f4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fed4f4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fed4f4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fed4f4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fed4f4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fed4f4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fed4f4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fed4f4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fed4f43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fed4f43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fed4f43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fed4f43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fed4f43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fed4f43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fed4f43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fed4f40953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fed4f40953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fed4f40953e 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 #49 0x00007fed4f450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fed4f450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fed4f450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fed4f45149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fed4f45149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fed4f45149e 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 #55 0x00007fed4f74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fed4f74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fed4f74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fed4f74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fed4f74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fed4f74e0a7 llvm::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 0x00007fed4f74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fed4f74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fed4f751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fed4f751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fed4f751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fed4f751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fed4f751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fed4db0724a __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 0x00007fed4db0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fed4db0724a void clang::finalize>, 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 0x00007fed4db0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fed4f244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fed4f1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fed4f1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fed4f1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fed4f2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055d103f63a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055d103f6770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055d103f69440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055d103f5d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fed45e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fed45e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055d103f5d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_2542_rdar_6793404.m.script: line 1: 557624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/pr22954.c (1034 of 19712) ******************** TEST 'Clang :: Analysis/pr22954.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fead91d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fead91ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fead91d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fead8254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007feae1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007feae1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007feae1c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007feae1c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007feae1c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007feae1c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007feae1c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007feae1c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007feae18d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007feae18d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007feae18d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007feae18d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007feae18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007feae18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007feae18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007feae18d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007feae18d4e65 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 #21 0x00007feae18d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007feae18d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007feae18d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007feae18b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007feae18b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007feae18b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007feae18d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007feae18d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007feae18d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007feae18e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007feae18e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007feae18e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007feae18e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007feae18e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007feae18e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007feae18e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007feae18e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007feae18e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007feae183da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007feae183da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007feae183da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007feae183da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007feae1d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007feae1d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007feae1d86b68 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 #46 0x00007feae197f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007feae197f794 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:0 #48 0x00007feae197f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007feae197f794 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:0 #50 0x00007feae181b7ad 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:5 #51 0x00007feae1868471 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 #52 0x00007feae1868471 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 #53 0x00007feae186e9d7 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 #54 0x00007feae186e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007feae186e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007feae186e9d7 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 #57 0x00007feae18762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007feae18762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007feae18762c7 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:51 #60 0x00007feae189d82f 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 0x00007feae189d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #62 0x00007feae189dc4e clang::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 0x00007feae189df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007feae183fac2 clang::ento::CoreEngine::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 0x00007feae185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007feae185109a clang::ento::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 0x00007feae1b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007feae1b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007feae1b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007feae1b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007feae1b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007feae1b4e0a7 llvm::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 0x00007feae1b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007feae1b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007feae1b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007feae1b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007feae1b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007feae1b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007feae1b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007feadff0724a __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 0x00007feadff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007feadff0724a void clang::finalize>, 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 0x00007feadff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007feae1644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007feae15f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007feae15f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007feae15f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007feae16948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000055c662280a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000055c66228470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000055c662286440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000055c66227a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007fead823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007fead823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x000055c66227a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr22954.c.script: line 1: 557599 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/pr_4164.c (1035 of 19712) ******************** TEST 'Clang :: Analysis/pr_4164.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0fe9dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0fe9dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0fe9dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0fe8e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0ff2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0ff2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0ff2835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0ff2835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0ff2835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0ff2835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0ff2835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0ff2835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0ff24d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0ff24d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0ff24d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0ff24d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0ff24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0ff24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0ff24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0ff24d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0ff24d4e65 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 #21 0x00007f0ff24d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0ff24d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0ff24d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0ff24d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0ff24d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0ff24d6cdb 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 #27 0x00007f0ff24d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0ff24d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0ff24d64ad 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 #30 0x00007f0ff24e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0ff24e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0ff24e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0ff24e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0ff24e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0ff24e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0ff24e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0ff24e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0ff24e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0ff243da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0ff243da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0ff243da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0ff243da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0ff2986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f0ff2986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f0ff2986b68 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 #46 0x00007f0ff246bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f0ff246bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f0ff246bf90 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 #49 0x00007f0ff246bf90 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 #50 0x00007f0ff246bf90 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 #51 0x00007f0ff246bf90 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 #52 0x00007f0ff246bf90 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 #53 0x00007f0ff246bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f0ff246bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f0ff246bf90 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 #56 0x00007f0ff243f21a 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:0 #57 0x00007f0ff245109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f0ff245109a clang::ento::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 0x00007f0ff274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f0ff274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f0ff274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f0ff274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f0ff274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f0ff274e0a7 llvm::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 0x00007f0ff274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f0ff274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f0ff2751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f0ff2751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f0ff2751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f0ff2751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f0ff2751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f0ff0b0724a __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 0x00007f0ff0b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f0ff0b0724a void clang::finalize>, 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 0x00007f0ff0b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f0ff2244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f0ff21f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f0ff21f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f0ff21f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f0ff22948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005580b8f27a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005580b8f2b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005580b8f2d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005580b8f21903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f0fe8e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f0fe8e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005580b8f21945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_4164.c.script: line 1: 557632 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1036 of 19712) ******************** TEST 'Clang :: Analysis/print-ranges.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd52b1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd52b1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd52b1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd52a254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd533c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd533c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd533c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd533c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd533c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd533c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd533c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd533c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd5338d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd5338d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd5338d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd5338d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd5338d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd5338d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd5338d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd5338d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd5338d4e65 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 #21 0x00007fd5338d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd5338d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd5338d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd5338b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd5338b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd5338b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fd5338d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd5338d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd5338d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fd5338e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd5338e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd5338e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd5338e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd5338e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd5338e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd5338e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd5338e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd5338e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd53383da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd53383da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd53383da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd53383da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd533d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fd533d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fd533d86b68 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 #46 0x00007fd53386bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fd53386bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fd53386bf90 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 #49 0x00007fd53386bf90 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 #50 0x00007fd53386bf90 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 #51 0x00007fd53386bf90 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 #52 0x00007fd53386bf90 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 #53 0x00007fd53386bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fd53386bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fd53386bf90 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 #56 0x00007fd53383f21a 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:0 #57 0x00007fd53385109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fd53385109a clang::ento::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 0x00007fd533b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fd533b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fd533b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fd533b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fd533b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fd533b4e0a7 llvm::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 0x00007fd533b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fd533b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fd533b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fd533b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fd533b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fd533b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fd533b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fd531f0724a __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 0x00007fd531f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fd531f0724a void clang::finalize>, 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 0x00007fd531f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fd533644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fd5335f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fd5335f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fd5335f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fd5336948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000556b76dc2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000556b76dc670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000556b76dc8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000556b76dbc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fd52a23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fd52a23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000556b76dbc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/print-ranges.cpp.script: line 1: 557649 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/pthreadlock.c (1037 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2a7f3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2a7f3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2a7f3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2a7e454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2a87f8cb16 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f2a87f8cb16 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f2a87f8cb16 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f2a87f8cb16 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f2a87f8cb16 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f2a87f8cb16 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 0x00007f2a87f8cb16 get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f2a87f8cb16 (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 0x00007f2a87a1bfa7 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 0x00007f2a87a6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f2a87a6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f2a87a6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f2a87a6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f2a87a6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f2a87a6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f2a87a6f23c 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 0x00007f2a87a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f2a87a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f2a87a3fac2 clang::ento::CoreEngine::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 0x00007f2a87a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f2a87a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f2a87d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f2a87d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f2a87d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f2a87d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f2a87d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f2a87d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f2a87d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f2a87d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f2a87d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f2a87d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f2a87d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f2a87d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f2a87d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f2a8610724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f2a8610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f2a8610724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f2a8610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f2a87844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f2a877f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f2a877f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f2a877f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f2a878948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x00005619f62d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x00005619f62d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x00005619f62d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x00005619f62ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f2a7e43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f2a7e43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x00005619f62ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/pthreadlock.c.script: line 1: 557683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/pthreadlock_state.c (1038 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock_state.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:298: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f372a1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.mm (1039 of 19712) ******************** TEST 'Clang :: Analysis/properties.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f380e5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f380e5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f380e5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f380d654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3817035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f3817035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f3817035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f3817035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f3817035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f3817035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f3817035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f3817035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f3816cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f3816cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f3816cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f3816cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f3816cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f3816cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f3816cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f3816cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f3816cd4e65 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 #21 0x00007f3816cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f3816cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f3816cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f3816cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f3816cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f3816cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f3816cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f3816cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f3816cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f3816ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f3816ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f3816ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f3816ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f3816ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f3816ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f3816ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f3816ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f3816ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f3816c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f3816c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f3816c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f3816c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f3817186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f3817186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f3817186b68 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 #46 0x00007f3816c9808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f3816c9808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f3816c9808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f3816c9808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f3816c9808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f3816c9808c 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 #52 0x00007f3816c9bfee 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 #53 0x00007f3816c9bfee clang::ento::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 #54 0x00007f3816c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f3816c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f3816c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f3816c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f3816c5109a clang::ento::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 0x00007f3816f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f3816f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f3816f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f3816f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f3816f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f3816f4e0a7 llvm::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 0x00007f3816f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f3816f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f3816f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f3816f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f3816f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f3816f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f3816f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f381530724a __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 0x00007f381530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f381530724a void clang::finalize>, 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 0x00007f381530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f3816a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f38169f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f38169f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f38169f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f3816a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055fc82b91a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055fc82b9570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055fc82b97440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055fc82b8b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f380d63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f380d63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055fc82b8b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.mm.script: line 2: 557681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/properties.m (1040 of 19712) ******************** TEST 'Clang :: Analysis/properties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f50a25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f50a25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f50a25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f50a1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f50ab035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f50ab035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f50ab035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f50ab035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f50ab035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f50ab035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f50ab035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f50ab035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f50aacd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f50aacd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f50aacd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f50aacd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f50aacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f50aacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f50aacd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f50aacd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f50aacd4e65 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 #21 0x00007f50aacd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f50aacd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f50aacd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f50aacb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f50aacb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f50aacb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f50aacd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f50aacd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f50aacd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f50aace8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f50aace8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f50aace8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f50aace8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f50aace8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f50aace8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f50aace9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f50aace9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f50aace9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f50aac3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f50aac3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f50aac3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f50aac3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f50aac3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f50aac3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f50aac3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f50aac0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f50aac0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f50aac0953e 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 #49 0x00007f50aac50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f50aac50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f50aac50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f50aac5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f50aac5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f50aac5149e 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 #55 0x00007f50aaf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f50aaf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f50aaf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f50aaf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f50aaf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f50aaf4e0a7 llvm::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 0x00007f50aaf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f50aaf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f50aaf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f50aaf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f50aaf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f50aaf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f50aaf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f50a930724a __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 0x00007f50a930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f50a930724a void clang::finalize>, 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 0x00007f50a930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f50aaa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f50aa9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f50aa9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f50aa9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f50aaa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005588927fda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055889280170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000558892803440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005588927f7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f50a163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f50a163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005588927f7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.m.script: line 2: 557672 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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_state_nottracked.c (1041 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock_state_nottracked.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:298: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f87591d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-cmp-const-trunc.cl (1042 of 19712) ******************** TEST 'Clang :: Analysis/ptr-cmp-const-trunc.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe4d4fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe4d4fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe4d4fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe4d4054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe4dd6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fe4dd6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fe4dd6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fe4dd6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fe4dd6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fe4dd6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fe4dd66f34b 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 #11 0x00007fe4dd66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fe4dd66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fe4dd66f34b 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:50 #14 0x00007fe4dd67d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007fe4dd67d731 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:0 #16 0x00007fe4dd67ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007fe4dd67ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007fe4dd67ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007fe4dd67ddf2 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 #20 0x00007fe4dd63ed11 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 0x00007fe4dd63fc1e 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 0x00007fe4dd65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007fe4dd65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007fe4dd94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007fe4dd94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007fe4dd94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007fe4dd94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007fe4dd94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007fe4dd94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007fe4dd94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007fe4dd94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007fe4dd951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007fe4dd951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007fe4dd951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007fe4dd951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007fe4dd951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007fe4dbd0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007fe4dbd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007fe4dbd0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007fe4dbd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007fe4dd444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007fe4dd3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007fe4dd3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007fe4dd3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007fe4dd4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x0000560cfe18ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x0000560cfe19270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x0000560cfe194440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x0000560cfe188903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007fe4d403ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007fe4d403f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x0000560cfe188945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-cmp-const-trunc.cl.script: line 1: 557727 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-iter.cpp (1043 of 19712) ******************** TEST 'Clang :: Analysis/ptr-iter.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3c0cfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3c0cfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3c0cfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3c0c054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3c1566f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f3c1566f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3c1566f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3c1566f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f3c1566f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f3c1566f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f3c1566f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f3c1566f83e 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 0x00007f3c15634cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f3c15634cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f3c15634cd2 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 0x00007f3c15634cd2 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 0x00007f3c156932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x00007f3c156932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x00007f3c156932e9 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 0x00007f3c15693c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f3c15693c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f3c15693c90 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 0x00007f3c1563ce4e 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 0x00007f3c15699b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x00007f3c15699b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x00007f3c15699b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x00007f3c15699b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x00007f3c15699b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x00007f3c15699b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x00007f3c15699b59 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 0x00007f3c1569c69e 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 0x00007f3c1569c69e clang::ento::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 0x00007f3c1569dc4e clang::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 0x00007f3c1569df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f3c1563fac2 clang::ento::CoreEngine::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 0x00007f3c1565109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x00007f3c1565109a clang::ento::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 0x00007f3c1594c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x00007f3c1594c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x00007f3c1594c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x00007f3c1594c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x00007f3c1594c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x00007f3c1594e0a7 llvm::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 0x00007f3c1594e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x00007f3c1594e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x00007f3c15951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x00007f3c15951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x00007f3c15951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x00007f3c15951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x00007f3c15951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x00007f3c13d0724a __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 0x00007f3c13d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x00007f3c13d0724a void clang::finalize>, 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 0x00007f3c13d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x00007f3c15444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x00007f3c153f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x00007f3c153f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x00007f3c153f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x00007f3c154948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x0000558ab6a72a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x0000558ab6a7670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000558ab6a78440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000558ab6a6c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x00007f3c0c03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #64 0x00007f3c0c03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #65 0x0000558ab6a6c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-iter.cpp.script: line 1: 557741 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 19712) ******************** TEST 'Clang :: Analysis/ptr-sort.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:11:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:11:25: Error evaluating statement #0 0x00007f8b579d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8b579ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8b579d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8b56a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8b6006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f8b6006f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8b6006f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8b6006f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f8b6006f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f8b6006f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f8b6006f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f8b6006f83e 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 0x00007f8b60034cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f8b60034cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f8b60034cd2 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 0x00007f8b60034cd2 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 0x00007f8b600932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x00007f8b600932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x00007f8b600932e9 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 0x00007f8b60093c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f8b60093c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f8b60093c90 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 0x00007f8b6003ce4e 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 0x00007f8b60099b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x00007f8b60099b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x00007f8b60099b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x00007f8b60099b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x00007f8b60099b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x00007f8b60099b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x00007f8b60099b59 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 0x00007f8b6009c69e 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 0x00007f8b6009c69e clang::ento::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 0x00007f8b6009dc4e clang::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 0x00007f8b6009df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f8b6003fac2 clang::ento::CoreEngine::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 0x00007f8b6005109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x00007f8b6005109a clang::ento::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 0x00007f8b6034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x00007f8b6034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x00007f8b6034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x00007f8b6034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x00007f8b6034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x00007f8b6034e0a7 llvm::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 0x00007f8b6034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x00007f8b6034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x00007f8b60351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x00007f8b60351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x00007f8b60351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x00007f8b60351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x00007f8b60351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x00007f8b5e70724a __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 0x00007f8b5e70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x00007f8b5e70724a void clang::finalize>, 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 0x00007f8b5e70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x00007f8b5fe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x00007f8b5fdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x00007f8b5fdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x00007f8b5fdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x00007f8b5fe948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000055bd4067ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000055bd4068070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000055bd40682440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000055bd40676903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x00007f8b56a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #64 0x00007f8b56a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #65 0x000055bd40676945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-sort.cpp.script: line 1: 557749 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ptr-arith.cpp (1045 of 19712) ******************** TEST 'Clang :: Analysis/ptr-arith.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc438dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc438dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc438dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc437e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc441835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc441835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc441835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc441835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc441835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc441835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc441835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc441835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc4414d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc4414d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc4414d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc4414d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc4414d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc4414d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc4414d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc4414d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc4414d4e65 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 #21 0x00007fc4414d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc4414d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc4414d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc4414b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc4414b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc4414b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc4414d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc4414d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc4414d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc4414e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc4414e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc4414e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc4414e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc4414e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc4414e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc4414e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc4414e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc4414e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc44143da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc44143da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc44143da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc44143da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc441986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fc441986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fc441986b68 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 #46 0x00007fc44157f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007fc44157f794 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:0 #48 0x00007fc44157f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007fc44157f794 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:0 #50 0x00007fc44141b7ad 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:5 #51 0x00007fc441468471 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 #52 0x00007fc441468471 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 #53 0x00007fc441469840 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 #54 0x00007fc441469840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007fc441469840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007fc441469840 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 #57 0x00007fc441477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007fc441477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007fc441477a6a 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:15 #60 0x00007fc44149bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007fc44149bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007fc44149bf62 clang::ento::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 #63 0x00007fc44149dc4e clang::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 0x00007fc44149df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc44143fac2 clang::ento::CoreEngine::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 0x00007fc44145109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007fc44145109a clang::ento::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 0x00007fc44174c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007fc44174c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007fc44174c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007fc44174c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007fc44174c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007fc44174e0a7 llvm::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 0x00007fc44174e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007fc44174e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007fc441751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007fc441751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007fc441751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007fc441751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007fc441751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007fc43fb0724a __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 0x00007fc43fb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007fc43fb0724a void clang::finalize>, 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 0x00007fc43fb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007fc441244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007fc4411f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007fc4411f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007fc4411f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007fc4412948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x0000560f55a7da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000560f55a8170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000560f55a83440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000560f55a77903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007fc437e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007fc437e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x0000560f55a77945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.cpp.script: line 2: 557721 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/range_casts.c (1046 of 19712) ******************** TEST 'Clang :: Analysis/range_casts.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f269dbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f269dbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f269dbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f269cc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f26a62ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f26a62ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f26a62ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f26a62ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f26a62ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f26a62ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f26a626f34b 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 #11 0x00007f26a626f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f26a626f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f26a626f34b 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:50 #14 0x00007f26a629db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f26a629df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f26a623f9ea 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 #17 0x00007f26a623fb9e 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:223:0 #18 0x00007f26a625109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f26a625109a clang::ento::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 0x00007f26a654c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f26a654c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f26a654c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f26a654c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f26a654c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f26a654e0a7 llvm::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 0x00007f26a654e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f26a654e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f26a6551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f26a6551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f26a6551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f26a6551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f26a6551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f26a490724a __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 0x00007f26a490724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f26a490724a void clang::finalize>, 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 0x00007f26a490724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f26a6044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f26a5ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f26a5ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f26a5ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f26a60948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055f1dd28ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055f1dd28f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055f1dd291440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055f1dd285903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f269cc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f269cc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055f1dd285945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/range_casts.c.script: line 1: 557764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/ptr-arith.c (1047 of 19712) ******************** TEST 'Clang :: Analysis/ptr-arith.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 negativeIndex 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:309:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:309:3: Error evaluating statement #0 0x00007ff781dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff781dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff781dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff780e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff78a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff78a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff78a835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff78a835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff78a835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff78a835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff78a835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff78a835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff78a4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff78a4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff78a4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff78a4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff78a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff78a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff78a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff78a4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff78a4d4e65 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 #21 0x00007ff78a4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff78a4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff78a4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff78a4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff78a4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff78a4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff78a4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff78a4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff78a4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff78a4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff78a4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff78a4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff78a4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff78a4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff78a4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff78a4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff78a4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff78a4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff78a43da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff78a43da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff78a43da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff78a43da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff78a98e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007ff78a98e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007ff78a98e15d 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 #46 0x00007ff78a98e15d 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 #47 0x00007ff78a588a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007ff78a588a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007ff78a588a58 (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 #50 0x00007ff78a5aaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007ff78a5aaac1 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:48 #52 0x00007ff78a43cd48 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 #53 0x00007ff78a47eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007ff78a47eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007ff78a47eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007ff78a47eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007ff78a47eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007ff78a47eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007ff78a47eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007ff78a47eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007ff78a47eb8e 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:695:0 #62 0x00007ff78a47f767 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:0 #63 0x00007ff78a49c6f1 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 0x00007ff78a49c6f1 clang::ento::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 0x00007ff78a49dc4e clang::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 0x00007ff78a49df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff78a43fac2 clang::ento::CoreEngine::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 0x00007ff78a45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007ff78a45109a clang::ento::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 0x00007ff78a74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007ff78a74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007ff78a74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007ff78a74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007ff78a74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007ff78a74e0a7 llvm::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 0x00007ff78a74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007ff78a74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007ff78a751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007ff78a751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007ff78a751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007ff78a751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007ff78a751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007ff788b0724a __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 0x00007ff788b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007ff788b0724a void clang::finalize>, 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 0x00007ff788b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007ff78a244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007ff78a1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007ff78a1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007ff78a1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007ff78a2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x0000558cc3a2fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000558cc3a3370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000558cc3a35440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000558cc3a29903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007ff780e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007ff780e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000558cc3a29945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.c.script: line 2: 557717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/qt_malloc.cpp (1048 of 19712) ******************** TEST 'Clang :: Analysis/qt_malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f28513d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f28513ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f28513d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2850454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2859e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2859e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2859e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2859e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2859e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2859e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2859e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2859e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2859ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2859ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2859ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2859ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2859ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2859ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2859ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2859ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2859ad4e65 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 #21 0x00007f2859ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2859ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2859ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2859ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2859ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2859ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2859ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2859ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2859ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2859ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2859ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2859ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2859ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2859ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2859ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2859ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2859ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2859ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2859a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2859a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2859a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2859a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2859a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f2859a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f2859a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f2859a97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f2859a97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f2859a97620 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 #49 0x00007f2859a97620 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 #50 0x00007f2859a977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f2859a977b2 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 0x00007f2859a9dfaf clang::ento::ExprEngine::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 0x00007f2859a3fac2 clang::ento::CoreEngine::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 0x00007f2859a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f2859a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f2859d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f2859d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f2859d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f2859d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f2859d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f2859d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f2859d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f2859d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f2859d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f2859d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f2859d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f2859d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f2859d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f285810724a __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 0x00007f285810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f285810724a void clang::finalize>, 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 0x00007f285810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f2859844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f28597f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f28597f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f28597f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f28598948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x00005590a41fda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x00005590a420170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x00005590a4203440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x00005590a41f7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f285043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f285043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x00005590a41f7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/qt_malloc.cpp.script: line 1: 557754 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1049 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6540084.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8e803d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8e803ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8e803d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8e7f454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8e88e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8e88e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8e88e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8e88e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8e88e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8e88e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8e88e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8e88e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8e88ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8e88ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8e88ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8e88ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8e88ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8e88ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8e88ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8e88ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8e88ad4e65 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 #21 0x00007f8e88ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8e88ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8e88ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8e88ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8e88ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8e88ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8e88ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8e88ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8e88ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8e88ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8e88ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8e88ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8e88ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8e88ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8e88ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8e88ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8e88ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8e88ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8e88a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8e88a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8e88a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8e88a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8e88a3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f8e88a3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f8e88a3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f8e88a0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f8e88a0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f8e88a0953e 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 #49 0x00007f8e88a50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f8e88a50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f8e88a50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f8e88a5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f8e88a5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f8e88a5149e 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 #55 0x00007f8e88d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f8e88d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f8e88d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f8e88d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f8e88d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f8e88d4e0a7 llvm::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 0x00007f8e88d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f8e88d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f8e88d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f8e88d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f8e88d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f8e88d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f8e88d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f8e8710724a __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 0x00007f8e8710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f8e8710724a void clang::finalize>, 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 0x00007f8e8710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f8e88844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f8e887f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f8e887f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f8e887f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f8e888948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005560ee498a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005560ee49c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005560ee49e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005560ee492903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f8e7f43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f8e7f43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005560ee492945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6540084.m.script: line 1: 557779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-6600344-nil-receiver-undefined-struct-ret.m (1050 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f82331d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f82331ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f82331d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8232254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f823bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f823bc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f823bc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f823bc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f823bc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f823bc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f823bc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f823bc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f823b8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f823b8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f823b8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f823b8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f823b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f823b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f823b8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f823b8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f823b8d4e65 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 #21 0x00007f823b8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f823b8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f823b8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f823b8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f823b8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f823b8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f823b8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f823b8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f823b8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f823b8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f823b8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f823b8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f823b8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f823b8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f823b8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f823b8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f823b8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f823b8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f823b83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f823b83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f823b83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f823b83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f823b83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f823b83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f823b83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f823b80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f823b80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f823b80953e 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 #49 0x00007f823b850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f823b850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f823b850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f823b85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f823b85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f823b85149e 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 #55 0x00007f823bb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f823bb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f823bb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f823bb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f823bb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f823bb4e0a7 llvm::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 0x00007f823bb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f823bb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f823bb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f823bb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f823bb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f823bb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f823bb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f8239f0724a __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 0x00007f8239f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f8239f0724a void clang::finalize>, 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 0x00007f8239f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f823b644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f823b5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f823b5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f823b5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f823b6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055eb51d5fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055eb51d6370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055eb51d65440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055eb51d59903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f823223ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f823223f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055eb51d59945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6600344-nil-receiver-undefined-struct-ret.m.script: line 1: 557799 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-6562655.m (1051 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6562655.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f59d9dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f59d9dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f59d9dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f59d8e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f59e2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f59e2835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f59e2835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f59e2835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f59e2835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f59e2835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f59e2835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f59e2835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f59e24d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f59e24d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f59e24d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f59e24d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f59e24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f59e24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f59e24d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f59e24d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f59e24d4e65 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 #21 0x00007f59e24d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f59e24d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f59e24d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f59e24b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f59e24b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f59e24b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f59e24d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f59e24d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f59e24d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f59e24e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f59e24e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f59e24e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f59e24e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f59e24e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f59e24e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f59e24e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f59e24e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f59e24e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f59e243da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f59e243da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f59e243da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f59e243da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f59e243df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f59e243df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f59e243df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f59e240953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f59e240953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f59e240953e 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 #49 0x00007f59e2450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f59e2450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f59e2450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f59e245149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f59e245149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f59e245149e 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 #55 0x00007f59e274c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f59e274c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f59e274c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f59e274c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f59e274c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f59e274e0a7 llvm::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 0x00007f59e274e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f59e274e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f59e2751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f59e2751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f59e2751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f59e2751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f59e2751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f59e0b0724a __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 0x00007f59e0b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f59e0b0724a void clang::finalize>, 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 0x00007f59e0b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f59e2244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f59e21f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f59e21f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f59e21f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f59e22948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000560a00eb4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000560a00eb870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000560a00eba440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000560a00eae903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f59d8e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f59d8e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000560a00eae945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6562655.m.script: line 1: 557798 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1052 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6442306-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1f1a3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1f1a3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1f1a3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1f19454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1f22e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1f22e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1f22e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1f22e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1f22e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1f22e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1f22e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1f22e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1f22ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1f22ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1f22ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1f22ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1f22ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1f22ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1f22ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1f22ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1f22ad4e65 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 #21 0x00007f1f22ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1f22ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1f22ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1f22ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1f22ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1f22ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1f22ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1f22ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1f22ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1f22ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1f22ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1f22ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1f22ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1f22ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1f22ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1f22ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1f22ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1f22ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1f22a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1f22a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1f22a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1f22a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1f22f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1f22f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1f22f86b68 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 #46 0x00007f1f22b7f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f1f22b7f794 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:0 #48 0x00007f1f22b7f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f1f22b7f794 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:0 #50 0x00007f1f22a1b7ad 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:5 #51 0x00007f1f22a68471 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 #52 0x00007f1f22a68471 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 #53 0x00007f1f22a69840 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 #54 0x00007f1f22a69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f1f22a69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f1f22a69840 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 #57 0x00007f1f22a77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f1f22a77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f1f22a77a6a 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:15 #60 0x00007f1f22a9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f1f22a9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f1f22a9bf62 clang::ento::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 #63 0x00007f1f22a9dc4e clang::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 0x00007f1f22a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f1f22a3fac2 clang::ento::CoreEngine::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 0x00007f1f22a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f1f22a5109a clang::ento::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 0x00007f1f22d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f1f22d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f1f22d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f1f22d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f1f22d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f1f22d4e0a7 llvm::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 0x00007f1f22d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f1f22d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f1f22d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f1f22d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f1f22d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f1f22d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f1f22d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f1f2110724a __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 0x00007f1f2110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f1f2110724a void clang::finalize>, 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 0x00007f1f2110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f1f22844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f1f227f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f1f227f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f1f227f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f1f228948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x0000557e03ccfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000557e03cd370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000557e03cd5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000557e03cc9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f1f1943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f1f1943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x0000557e03cc9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6442306-1.m.script: line 1: 557772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/refcnt_naming.m (1053 of 19712) ******************** TEST 'Clang :: Analysis/refcnt_naming.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007feedd9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007feedd9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007feedd9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007feedca54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007feee6435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007feee6435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007feee6435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007feee6435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007feee6435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007feee6435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007feee6435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007feee6435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007feee60d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007feee60d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007feee60d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007feee60d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007feee60d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007feee60d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007feee60d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007feee60d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007feee60d4e65 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 #21 0x00007feee60d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007feee60d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007feee60d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007feee60b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007feee60b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007feee60b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007feee60d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007feee60d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007feee60d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007feee60e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007feee60e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007feee60e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007feee60e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007feee60e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007feee60e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007feee60e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007feee60e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007feee60e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007feee603da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007feee603da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007feee603da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007feee603da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007feee6586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007feee6586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007feee6586b68 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 #46 0x00007feee609808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007feee609808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007feee609808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007feee609808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007feee609808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007feee609808c 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 #52 0x00007feee609bfee 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 #53 0x00007feee609bfee clang::ento::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 #54 0x00007feee609dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007feee609df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007feee603fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007feee605109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007feee605109a clang::ento::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 0x00007feee634c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007feee634c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007feee634c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007feee634c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007feee634c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007feee6351701 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #65 0x00007feee6351701 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #66 0x00007feee6351701 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #67 0x00007feee6351701 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #68 0x00007feee6351a65 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #69 0x00007feee6351a65 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007feee470724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007feee470724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007feee470724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007feee470724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007feee5e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007feee5df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007feee5df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007feee5df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007feee5e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000559a1f16ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000559a1f17070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000559a1f172440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000559a1f166903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007feedca3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007feedca3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000559a1f166945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/refcnt_naming.m.script: line 1: 557811 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/rdar-7168531.m (1054 of 19712) ******************** TEST 'Clang :: Analysis/rdar-7168531.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9a90bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9a90bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9a90bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9a8fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9a99635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9a99635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9a99635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9a99635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9a99635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9a99635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9a99635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9a99635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9a992d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9a992d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9a992d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9a992d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9a992d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9a992d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9a992d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9a992d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9a992d4e65 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 #21 0x00007f9a992d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9a992d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9a992d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9a992b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9a992b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9a992b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9a992d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9a992d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9a992d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9a992e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9a992e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9a992e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9a992e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9a992e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9a992e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9a992e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9a992e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9a992e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9a9923da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9a9923da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9a9923da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9a9923da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9a99786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f9a99786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f9a99786b68 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 #46 0x00007f9a9937f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f9a9937f794 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:0 #48 0x00007f9a9937f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f9a9937f794 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:0 #50 0x00007f9a9921b7ad 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:5 #51 0x00007f9a99268471 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 #52 0x00007f9a99268471 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 #53 0x00007f9a99269840 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 #54 0x00007f9a99269840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f9a99269840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f9a99269840 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 #57 0x00007f9a99277a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f9a99277a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f9a99277a6a 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:15 #60 0x00007f9a9929bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f9a9929bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f9a9929bf62 clang::ento::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 #63 0x00007f9a9929dc4e clang::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 0x00007f9a9929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9a9923fac2 clang::ento::CoreEngine::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 0x00007f9a9925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f9a9925109a clang::ento::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 0x00007f9a9954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f9a9954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f9a9954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f9a9954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f9a9954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f9a9954e0a7 llvm::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 0x00007f9a9954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f9a9954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f9a99551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f9a99551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f9a99551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f9a99551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f9a99551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f9a9790724a __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 0x00007f9a9790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f9a9790724a void clang::finalize>, 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 0x00007f9a9790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f9a99044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f9a98ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f9a98ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f9a98ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f9a990948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055859addaa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055859adde70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055859ade0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055859add4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f9a8fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f9a8fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055859add4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-7168531.m.script: line 1: 557803 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/reference.cpp (1055 of 19712) ******************** TEST 'Clang :: Analysis/reference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f23f69d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f23f69ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f23f69d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f23f5a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f23ff435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f23ff435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f23ff435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f23ff435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f23ff435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f23ff435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f23ff435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f23ff435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f23ff0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f23ff0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f23ff0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f23ff0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f23ff0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f23ff0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f23ff0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f23ff0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f23ff0d4e65 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 #21 0x00007f23ff0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f23ff0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f23ff0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f23ff0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f23ff0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f23ff0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f23ff0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f23ff0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f23ff0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f23ff0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f23ff0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f23ff0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f23ff0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f23ff0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f23ff0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f23ff0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f23ff0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f23ff0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f23ff03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f23ff03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f23ff03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f23ff03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f23ff03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f23ff03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f23ff03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f23ff00953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f23ff00953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f23ff00953e 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 #49 0x00007f23ff050e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f23ff050e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f23ff050e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f23ff05149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f23ff05149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f23ff05149e 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 #55 0x00007f23ff34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f23ff34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f23ff34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f23ff34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f23ff34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f23ff34e0a7 llvm::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 0x00007f23ff34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f23ff34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f23ff351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f23ff351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f23ff351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f23ff351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f23ff351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f23fd70724a __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 0x00007f23fd70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f23fd70724a void clang::finalize>, 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 0x00007f23fd70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f23fee44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f23fedf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f23fedf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f23fedf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f23fee948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055dc676b1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055dc676b570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055dc676b7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055dc676ab903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f23f5a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f23f5a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055dc676ab945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/reference.cpp.script: line 1: 557820 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/redefined_system.c (1056 of 19712) ******************** TEST 'Clang :: Analysis/redefined_system.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f53ea7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f53ea7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f53ea7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f53f3f18ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f53f3219146 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f53f3219146 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f53f3219146 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f53f3219146 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f53f3219146 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f53f3219146 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 0x00007f53f3219146 get<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f53f3219146 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #12 0x00007f53f3219146 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #13 0x00007f53f3219146 (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 #14 0x00007f53f3058af7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x00007f53f3058af7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x00007f53f3058af7 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 #17 0x00007f53f2e2384f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007f53f2e2384f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f53f2e2384f 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:29 #20 0x00007f53f2e2384f 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:33 #21 0x00007f53f2e78180 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #22 0x00007f53f2e78180 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #23 0x00007f53f2e78180 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 #24 0x00007f53f2eb8b33 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #25 0x00007f53f2eb8b33 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #26 0x00007f53f2eb8b33 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:211:58 #27 0x00007f53f2e34dc4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #28 0x00007f53f2e34dc4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #29 0x00007f53f2e34dc4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #30 0x00007f53f2e34dc4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #31 0x00007f53f2e932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #32 0x00007f53f2e932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #33 0x00007f53f2e932e9 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 #34 0x00007f53f2e93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x00007f53f2e93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007f53f2e93c90 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 #37 0x00007f53f2e3ce4e 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 #38 0x00007f53f2e7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #39 0x00007f53f2e7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #40 0x00007f53f2e7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #41 0x00007f53f2e7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #42 0x00007f53f2e7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #43 0x00007f53f2e7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #44 0x00007f53f2e7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #45 0x00007f53f2e7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #46 0x00007f53f2e7eb8e 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:695:0 #47 0x00007f53f2e7f767 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:0 #48 0x00007f53f2e9c6f1 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 0x00007f53f2e9c6f1 clang::ento::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 #50 0x00007f53f2e9dc4e clang::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 0x00007f53f2e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f53f2e3fac2 clang::ento::CoreEngine::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 0x00007f53f2e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x00007f53f2e5109a clang::ento::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 0x00007f53f314c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f53f314c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f53f314c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f53f314c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f53f314c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f53f314e0a7 llvm::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 0x00007f53f314e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f53f314e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f53f3151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f53f3151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f53f3151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f53f3151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f53f3151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f53f150724a __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 0x00007f53f150724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f53f150724a void clang::finalize>, 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 0x00007f53f150724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f53f2c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f53f2bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f53f2bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f53f2bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f53f2c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055912a577a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055912a57b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055912a57d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055912a571903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f53f3f02f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f53f3f03009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055912a571945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/redefined_system.c.script: line 1: 557805 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/region-1.m (1057 of 19712) ******************** TEST 'Clang :: Analysis/region-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f195cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f195cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f195cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f195bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1965635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1965635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1965635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1965635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1965635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1965635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1965635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1965635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f19652d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f19652d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f19652d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f19652d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f19652d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f19652d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f19652d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f19652d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f19652d4e65 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 #21 0x00007f19652d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f19652d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f19652d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f19652b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f19652b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f19652b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f19652d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f19652d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f19652d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f19652e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f19652e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f19652e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f19652e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f19652e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f19652e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f19652e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f19652e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f19652e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f196523da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f196523da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f196523da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f196523da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f196523df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f196523df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f196523df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f196520953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f196520953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f196520953e 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 #49 0x00007f1965250eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f1965250eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f1965250eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f196525149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f196525149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f196525149e 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 #55 0x00007f196554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f196554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f196554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f196554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f196554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f196554e0a7 llvm::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 0x00007f196554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f196554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f1965551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f1965551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f1965551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f1965551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f1965551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f196390724a __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 0x00007f196390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f196390724a void clang::finalize>, 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 0x00007f196390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f1965044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f1964ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f1964ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f1964ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f19650948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005649ed9b1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005649ed9b570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005649ed9b7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005649ed9ab903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f195bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f195bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005649ed9ab945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-1.m.script: line 1: 557832 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (1059 of 19712) ******************** TEST 'Clang :: Analysis/region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7d54fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7d54fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7d54fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7d54054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7d5d66f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f7d5d66f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7d5d66f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7d5d66f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7d5d66f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7d5d66f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7d5d66f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f7d5d66f83e 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 0x00007f7d5d6725b9 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 0x00007f7d5d6725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f7d5d6725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f7d5d6725b9 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 #16 0x00007f7d5d6727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f7d5d6727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f7d5d6727ab 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 #19 0x00007f7d5d699d0e 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 #20 0x00007f7d5d69c69e 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 #21 0x00007f7d5d69c69e clang::ento::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 #22 0x00007f7d5d69dc4e clang::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 0x00007f7d5d69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7d5d63fac2 clang::ento::CoreEngine::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 0x00007f7d5d65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f7d5d65109a clang::ento::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 0x00007f7d5d94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f7d5d94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f7d5d94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f7d5d94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f7d5d94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f7d5d94e0a7 llvm::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 0x00007f7d5d94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f7d5d94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f7d5d951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f7d5d951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f7d5d951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f7d5d951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f7d5d951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f7d5bd0724a __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 0x00007f7d5bd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f7d5bd0724a void clang::finalize>, 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 0x00007f7d5bd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f7d5d444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f7d5d3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f7d5d3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f7d5d3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f7d5d4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x000055c250492a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000055c25049670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x000055c250498440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000055c25048c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f7d5403ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f7d5403f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x000055c25048c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.cpp.script: line 1: 557853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/reinterpret-cast-pointer-to-member.cpp (1062 of 19712) ******************** TEST 'Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f33947d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f33947ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f33947d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3393854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f339ce7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f339ce7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f339ce7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f339ce7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f339ce7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f339ce7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f339ce7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f339ce7d99e 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 0x00007f339ce3ed11 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 0x00007f339ce3fc1e 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 0x00007f339ce5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f339ce5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f339d14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f339d14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f339d14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f339d14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f339d14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f339d14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f339d14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f339d14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f339d151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f339d151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f339d151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f339d151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f339d151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f339b50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f339b50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f339b50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f339b50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f339cc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f339cbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f339cbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f339cbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f339cc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000562b9cde5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000562b9cde970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000562b9cdeb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000562b9cddf903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f339383ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f339383f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000562b9cddf945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast-pointer-to-member.cpp.script: line 1: 557879 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (1064 of 19712) ******************** TEST 'Clang :: Analysis/region-store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5690dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5690dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5690dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f568fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5699835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5699835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5699835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5699835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5699835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5699835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5699835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5699835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f56994d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f56994d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f56994d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f56994d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f56994d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f56994d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f56994d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f56994d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f56994d4e65 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 #21 0x00007f56994d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f56994d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f56994d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f56994b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f56994b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f56994b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f56994d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f56994d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f56994d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f56994e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f56994e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f56994e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f56994e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f56994e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f56994e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f56994e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f56994e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f56994e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f569943da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f569943da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f569943da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f569943da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5699986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5699986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5699986b68 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 #46 0x00007f569957f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f569957f794 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:0 #48 0x00007f569957f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f569957f794 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:0 #50 0x00007f569941b7ad 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:5 #51 0x00007f5699468471 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 #52 0x00007f5699468471 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 #53 0x00007f5699469840 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 #54 0x00007f5699469840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f5699469840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f5699469840 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 #57 0x00007f5699477a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f5699477a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f5699477a6a 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:15 #60 0x00007f569949bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f569949bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f569949bf62 clang::ento::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 #63 0x00007f569949dc4e clang::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 0x00007f569949df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f569943fac2 clang::ento::CoreEngine::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 0x00007f569945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f569945109a clang::ento::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 0x00007f569974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f569974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f569974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f569974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f569974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f569974e0a7 llvm::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 0x00007f569974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f569974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f5699751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f5699751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f5699751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f5699751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f5699751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f5697b0724a __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 0x00007f5697b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f5697b0724a void clang::finalize>, 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 0x00007f5697b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f5699244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f56991f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f56991f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f56991f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f56992948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055c7ef784a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055c7ef78870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055c7ef78a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055c7ef77e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f568fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f568fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055c7ef77e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.c.script: line 1: 557844 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/region_store_overflow.c (1068 of 19712) ******************** TEST 'Clang :: Analysis/region_store_overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5e7a3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5e7a3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5e7a3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5e79454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5e82e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5e82e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5e82e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5e82e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5e82e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5e82e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5e82e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5e82e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5e82ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5e82ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5e82ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5e82ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5e82ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5e82ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5e82ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5e82ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5e82ad4e65 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 #21 0x00007f5e82ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5e82ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5e82ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5e82ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5e82ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5e82ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5e82ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5e82ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5e82ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5e82ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5e82ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5e82ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5e82ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5e82ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5e82ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5e82ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5e82ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5e82ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5e82a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5e82a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5e82a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5e82a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5e82f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5e82f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5e82f86b68 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 #46 0x00007f5e82b7f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f5e82b7f794 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:0 #48 0x00007f5e82b7f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f5e82b7f794 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:0 #50 0x00007f5e82a1b7ad 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:5 #51 0x00007f5e82a68471 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 #52 0x00007f5e82a68471 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 #53 0x00007f5e82a69840 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 #54 0x00007f5e82a69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f5e82a69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f5e82a69840 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 #57 0x00007f5e82a77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f5e82a77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f5e82a77a6a 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:15 #60 0x00007f5e82a9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f5e82a9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f5e82a9bf62 clang::ento::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 #63 0x00007f5e82a9dc4e clang::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 0x00007f5e82a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5e82a3fac2 clang::ento::CoreEngine::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 0x00007f5e82a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f5e82a5109a clang::ento::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 0x00007f5e82d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f5e82d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f5e82d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f5e82d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f5e82d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f5e82d4e0a7 llvm::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 0x00007f5e82d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f5e82d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f5e82d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f5e82d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f5e82d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f5e82d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f5e82d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f5e8110724a __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 0x00007f5e8110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f5e8110724a void clang::finalize>, 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 0x00007f5e8110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f5e82844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f5e827f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f5e827f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f5e827f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f5e828948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055b4d4e3ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055b4d4e4270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055b4d4e44440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055b4d4e38903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f5e7943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f5e7943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055b4d4e38945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/region_store_overflow.c.script: line 1: 557861 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1071 of 19712) ******************** TEST 'Clang :: Analysis/reinterpret-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2d11bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2d11bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2d11bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2d10c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2d1a635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2d1a635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2d1a635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2d1a635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2d1a635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2d1a635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2d1a635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2d1a635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2d1a2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2d1a2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2d1a2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2d1a2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2d1a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2d1a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2d1a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2d1a2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2d1a2d4e65 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 #21 0x00007f2d1a2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2d1a2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2d1a2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2d1a2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2d1a2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2d1a2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2d1a2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2d1a2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2d1a2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2d1a2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2d1a2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2d1a2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2d1a2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2d1a2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2d1a2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2d1a2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2d1a2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2d1a2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2d1a23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2d1a23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2d1a23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2d1a23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2d1a786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2d1a786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2d1a786b68 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 #46 0x00007f2d1a37f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f2d1a37f794 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:0 #48 0x00007f2d1a37f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f2d1a37f794 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:0 #50 0x00007f2d1a21b7ad 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:5 #51 0x00007f2d1a268471 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 #52 0x00007f2d1a268471 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 #53 0x00007f2d1a269840 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 #54 0x00007f2d1a269840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f2d1a269840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f2d1a269840 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 #57 0x00007f2d1a277a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f2d1a277a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f2d1a277a6a 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:15 #60 0x00007f2d1a29bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f2d1a29bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f2d1a29bf62 clang::ento::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 #63 0x00007f2d1a29dc4e clang::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 0x00007f2d1a29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f2d1a23fac2 clang::ento::CoreEngine::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 0x00007f2d1a25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f2d1a25109a clang::ento::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 0x00007f2d1a54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f2d1a54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f2d1a54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f2d1a54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f2d1a54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f2d1a54e0a7 llvm::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 0x00007f2d1a54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f2d1a54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f2d1a551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f2d1a551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f2d1a551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f2d1a551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f2d1a551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f2d1890724a __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 0x00007f2d1890724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f2d1890724a void clang::finalize>, 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 0x00007f2d1890724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f2d1a044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f2d19ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f2d19ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f2d19ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f2d1a0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055ee0dd36a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055ee0dd3a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055ee0dd3c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055ee0dd30903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f2d10c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f2d10c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055ee0dd30945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast.cpp.script: line 1: 557882 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-release-cf-audited.m (1073 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cf-audited.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1076fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1076fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1076fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1076054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f107f8aa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f107f8aa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f107f8aa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f107f8aa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f107f8aa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f107f8aa5d6 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 0x00007f107f8aa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f107f8aa5d6 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:0 #12 0x00007f107f61bfa7 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 0x00007f107f66f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f107f66f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f107f66f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f107f66f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f107f66f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f107f66f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f107f66f23c 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 0x00007f107f69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f107f69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f107f63fac2 clang::ento::CoreEngine::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 0x00007f107f65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f107f65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f107f94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f107f94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f107f94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f107f94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f107f94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f107f94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f107f94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f107f94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f107f951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f107f951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f107f951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f107f951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f107f951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f107dd0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f107dd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f107dd0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f107dd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f107f444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f107f3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f107f3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f107f3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f107f4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000561b4ea47a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x0000561b4ea4b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000561b4ea4d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x0000561b4ea41903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f107603ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f107603f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x0000561b4ea41945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cf-audited.m.script: line 2: 557925 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1079 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cache-out.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd4229d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd4229ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd4229d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd421a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd42b0454e6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd42b0454e6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd42b0454e6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd42b0454e6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd42b0454e6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd42b0454e6 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 0x00007fd42b0454e6 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd42b0454e6 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:0 #12 0x00007fd42b4218a5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007fd42b4218a5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007fd42b4218a5 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x00007fd42b4218a5 (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 0x00007fd42b01bfa7 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 0x00007fd42b06f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x00007fd42b06f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x00007fd42b06f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x00007fd42b06f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x00007fd42b06f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x00007fd42b06f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x00007fd42b06f23c 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 0x00007fd42b09db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #25 0x00007fd42b09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x00007fd42b03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x00007fd42b05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x00007fd42b05109a clang::ento::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 0x00007fd42b34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fd42b34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fd42b34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x00007fd42b34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x00007fd42b34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x00007fd42b34e0a7 llvm::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 0x00007fd42b34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x00007fd42b34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x00007fd42b351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x00007fd42b351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x00007fd42b351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x00007fd42b351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x00007fd42b351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x00007fd42970724a __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 0x00007fd42970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x00007fd42970724a void clang::finalize>, 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 0x00007fd42970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x00007fd42ae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x00007fd42adf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x00007fd42adf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x00007fd42adf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x00007fd42ae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x00005641499b6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x00005641499ba70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x00005641499bc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x00005641499b0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x00007fd421a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #56 0x00007fd421a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #57 0x00005641499b0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cache-out.m.script: line 1: 557912 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-compound-literal.m (1080 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-compound-literal.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff2173d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff2173ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff2173d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff216454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff21fcaa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff21fcaa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff21fcaa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff21fcaa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff21fcaa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff21fcaa5d6 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 0x00007ff21fcaa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007ff21fcaa5d6 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:0 #12 0x00007ff21fa1bfa7 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 0x00007ff21fa6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007ff21fa6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007ff21fa6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007ff21fa6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007ff21fa6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007ff21fa6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007ff21fa6f23c 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 0x00007ff21fa9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007ff21fa9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff21fa3fac2 clang::ento::CoreEngine::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 0x00007ff21fa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007ff21fa5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007ff21fd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007ff21fd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007ff21fd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007ff21fd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007ff21fd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007ff21fd4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007ff21fd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007ff21fd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007ff21fd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007ff21fd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007ff21fd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007ff21fd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007ff21fd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007ff21e10724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007ff21e10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007ff21e10724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007ff21e10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007ff21f844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007ff21f7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007ff21f7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007ff21f7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007ff21f8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x00005588c967ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x00005588c968070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x00005588c9682440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x00005588c9676903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007ff21643ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007ff21643f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x00005588c9676945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-compound-literal.m.script: line 1: 557933 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-count-alloc.cpp (1081 of 19712) ******************** TEST 'Clang :: Analysis/retain-count-alloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa9f29d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa9f29ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa9f29d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa9f1a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa9fb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa9fb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa9fb435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa9fb435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa9fb435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa9fb435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa9fb435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa9fb435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa9fb0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa9fb0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa9fb0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa9fb0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa9fb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa9fb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa9fb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa9fb0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa9fb0d4e65 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 #21 0x00007fa9fb0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa9fb0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa9fb0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa9fb0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa9fb0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa9fb0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa9fb0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa9fb0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa9fb0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa9fb0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa9fb0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa9fb0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa9fb0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa9fb0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa9fb0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa9fb0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa9fb0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa9fb0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa9fb03da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa9fb03da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa9fb03da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa9fb03da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa9fb586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa9fb586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa9fb586b68 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 #46 0x00007fa9fb069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fa9fb069db3 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 #48 0x00007fa9fb069db3 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 #49 0x00007fa9fb09d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fa9fb09d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fa9fb09d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fa9fb09d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fa9fb09d93e clang::ento::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 #54 0x00007fa9fb09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fa9fb09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fa9fb03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fa9fb05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fa9fb05109a clang::ento::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 0x00007fa9fb34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fa9fb34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fa9fb34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fa9fb34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fa9fb34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fa9fb34e0a7 llvm::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 0x00007fa9fb34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fa9fb34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fa9fb351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fa9fb351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fa9fb351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fa9fb351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fa9fb351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fa9f970724a __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 0x00007fa9f970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fa9f970724a void clang::finalize>, 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 0x00007fa9f970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fa9fae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fa9fadf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fa9fadf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fa9fadf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fa9fae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055796bab6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055796baba70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055796babc440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055796bab0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fa9f1a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fa9f1a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055796bab0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-count-alloc.cpp.script: line 1: 557896 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1082 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f88e13d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f88e13ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f88e13d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f88e0454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f88e9c8e93e llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x00007f88e9c8e93e llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x00007f88e9c8e93e llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x00007f88e9c8e93e llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x00007f88e9c8e93e 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 0x00007f88e9c8e93e remove<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x00007f88e9c8e93e llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::RefBindings>(clang::ento::ProgramStateTrait<(anonymous namespace)::RefBindings>::key_type) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #11 0x00007f88e9c9eae2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #12 0x00007f88e9c9eae2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #13 0x00007f88e9c9eae2 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 0x00007f88e9c9ec60 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #15 0x00007f88e9c9ec60 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f88e9c9ec60 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 0x00007f88e9a2370b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007f88e9a2370b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f88e9a2370b 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:29 #20 0x00007f88e9a2370b 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:33 #21 0x00007f88e9ab8a09 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #22 0x00007f88e9ab8a09 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f88e9ab8a09 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:68 #24 0x00007f88e9ab8a09 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:58 #25 0x00007f88e9a34dc4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #26 0x00007f88e9a34dc4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #27 0x00007f88e9a34dc4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #28 0x00007f88e9a34dc4 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 0x00007f88e9a932e9 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #30 0x00007f88e9a932e9 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x00007f88e9a932e9 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 0x00007f88e9a93c90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f88e9a93c90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f88e9a93c90 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 0x00007f88e9a3ce4e 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 0x00007f88e9a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #37 0x00007f88e9a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #38 0x00007f88e9a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #39 0x00007f88e9a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #40 0x00007f88e9a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #41 0x00007f88e9a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #42 0x00007f88e9a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #43 0x00007f88e9a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #44 0x00007f88e9a7eb8e 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:695:0 #45 0x00007f88e9a7f767 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:0 #46 0x00007f88e9a9c6f1 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 #47 0x00007f88e9a9c6f1 clang::ento::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 #48 0x00007f88e9a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #49 0x00007f88e9a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #50 0x00007f88e9a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #51 0x00007f88e9a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #52 0x00007f88e9a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #53 0x00007f88e9d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x00007f88e9d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x00007f88e9d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #56 0x00007f88e9d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #57 0x00007f88e9d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #58 0x00007f88e9d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #59 0x00007f88e9d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #60 0x00007f88e9d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #61 0x00007f88e9d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x00007f88e9d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x00007f88e9d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #64 0x00007f88e9d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #65 0x00007f88e9d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #66 0x00007f88e810724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #67 0x00007f88e810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #68 0x00007f88e810724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #69 0x00007f88e810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #70 0x00007f88e9844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #71 0x00007f88e97f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #72 0x00007f88e97f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #73 0x00007f88e97f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #74 0x00007f88e98948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #75 0x000055d54af15a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #76 0x000055d54af1970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #77 0x000055d54af1b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #78 0x000055d54af0f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #79 0x00007f88e043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #80 0x00007f88e043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #81 0x000055d54af0f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-arc.m.script: line 2: 557904 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-cpp-classes.cpp (1083 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cpp-classes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7ee25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7ee25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7ee25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7ee1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7eeac7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7eeac7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7eeac7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7eeac7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7eeac7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7eeac7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7eeac7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f7eeac7d99e 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 0x00007f7eeac3ed11 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 0x00007f7eeac3fc1e 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 0x00007f7eeac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f7eeac5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f7eeaf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f7eeaf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f7eeaf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f7eeaf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f7eeaf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f7eeaf4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f7eeaf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f7eeaf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f7eeaf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f7eeaf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f7eeaf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f7eeaf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f7eeaf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f7ee930724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f7ee930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f7ee930724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f7ee930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f7eeaa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f7eea9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f7eea9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f7eea9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f7eeaa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x00005580b122ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x00005580b123070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x00005580b1232440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x00005580b1226903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f7ee163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f7ee163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x00005580b1226945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cpp-classes.cpp.script: line 1: 557943 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-inline.m (1084 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-inline.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f36dcfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f36dcfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f36dcfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f36dc054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f36e5a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f36e5a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f36e5a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f36e5a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f36e5a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f36e5a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f36e5a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f36e5a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f36e56d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f36e56d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f36e56d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f36e56d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f36e56d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f36e56d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f36e56d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f36e56d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f36e56d4e65 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 #21 0x00007f36e56d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f36e56d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f36e56d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f36e56b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f36e56b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f36e56b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f36e56d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f36e56d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f36e56d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f36e56e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f36e56e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f36e56e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f36e56e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f36e56e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f36e56e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f36e56e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f36e56e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f36e56e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f36e563da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f36e563da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f36e563da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f36e563da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f36e563df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f36e563df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f36e563df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f36e560953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f36e560953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f36e560953e 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 #49 0x00007f36e5650eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f36e5650eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f36e5650eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f36e565149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f36e565149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f36e565149e 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 #55 0x00007f36e594c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f36e594c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f36e594c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f36e594c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f36e594c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f36e594e0a7 llvm::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 0x00007f36e594e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f36e594e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f36e5951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f36e5951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f36e5951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f36e5951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f36e5951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f36e3d0724a __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 0x00007f36e3d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f36e3d0724a void clang::finalize>, 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 0x00007f36e3d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f36e5444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f36e53f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f36e53f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f36e53f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f36e54948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055b9e5052a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055b9e505670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055b9e5058440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055b9e504c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f36dc03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f36dc03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055b9e504c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-inline.m.script: line 1: 557952 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1085 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fc7fddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc7fddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc7fddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc7fce54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc806835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc806835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc806835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc806835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc806835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc806835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc806835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc806835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc8064d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc8064d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc8064d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc8064d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc8064d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc8064d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc8064d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc8064d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc8064d4e65 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 #21 0x00007fc8064d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc8064d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc8064d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc8064b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc8064b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc8064b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc8064d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc8064d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc8064d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc8064e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc8064e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc8064e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc8064e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc8064e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc8064e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc8064e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc8064e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc8064e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc80643da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc80643da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc80643da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc80643da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc80643df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc80643df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc80643df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fc80640953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fc80640953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fc80640953e 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 #49 0x00007fc806450eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fc806450eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fc806450eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007fc80645149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fc80645149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fc80645149e 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 #55 0x00007fc80674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fc80674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fc80674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fc80674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fc80674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fc80674e0a7 llvm::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 0x00007fc80674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fc80674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fc806751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fc806751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fc806751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fc806751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fc806751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fc804b0724a __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 0x00007fc804b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fc804b0724a void clang::finalize>, 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 0x00007fc804b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fc806244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fc8061f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fc8061f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fc8061f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fc8062948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055661c4b7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055661c4bb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055661c4bd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055661c4b1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fc7fce3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fc7fce3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055661c4b1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.script: line 3: 557965 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.mm (1086 of 19712) ******************** TEST 'Clang :: Analysis/retain-release.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1fd25d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1fd25ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1fd25d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1fd1654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1fdaeaa5d6 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1fdaeaa5d6 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1fdaeaa5d6 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1fdaeaa5d6 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f1fdaeaa5d6 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f1fdaeaa5d6 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 0x00007f1fdaeaa5d6 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f1fdaeaa5d6 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:0 #12 0x00007f1fdac1bfa7 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 0x00007f1fdac6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f1fdac6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f1fdac6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f1fdac6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f1fdac6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f1fdac6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f1fdac6f23c 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 0x00007f1fdac9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f1fdac9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f1fdac3fac2 clang::ento::CoreEngine::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 0x00007f1fdac5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f1fdac5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f1fdaf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f1fdaf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f1fdaf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f1fdaf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f1fdaf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f1fdaf4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f1fdaf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f1fdaf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f1fdaf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f1fdaf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f1fdaf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f1fdaf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f1fdaf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f1fd930724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f1fd930724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f1fd930724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f1fd930724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f1fdaa44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f1fda9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f1fda9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f1fda9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f1fdaa948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000557663bd1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x0000557663bd570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000557663bd7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x0000557663bcb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f1fd163ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f1fd163f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x0000557663bcb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.mm.script: line 1: 558000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/return-stmt-merge.cpp (1088 of 19712) ******************** TEST 'Clang :: Analysis/return-stmt-merge.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:454: note: 'next' match was here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1089 of 19712) ******************** TEST 'Clang :: Analysis/return-value-guaranteed.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f2fe3fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2fe3fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2fe3fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2fe3054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2fec67d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f2fec67d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f2fec67d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f2fec67d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f2fec67d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f2fec67d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f2fec67d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f2fec67d99e 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 0x00007f2fec63ed11 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 0x00007f2fec63fc1e 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 0x00007f2fec65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f2fec65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f2fec94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f2fec94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f2fec94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f2fec94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f2fec94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f2fec94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f2fec94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f2fec94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f2fec951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f2fec951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f2fec951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f2fec951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f2fec951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f2fead0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f2fead0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f2fead0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f2fead0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f2fec444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f2fec3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f2fec3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f2fec3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f2fec4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055c9ba540a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055c9ba54470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055c9ba546440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055c9ba53a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f2fe303ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f2fe303f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055c9ba53a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-value-guaranteed.cpp.script: line 1: 558045 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/retain-release-safe.c (1090 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-safe.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007faf683d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007faf683ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007faf683d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007faf67454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faf70e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007faf70e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007faf70e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007faf70e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007faf70e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007faf70e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007faf70e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007faf70e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007faf70ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007faf70ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007faf70ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007faf70ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007faf70ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007faf70ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007faf70ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007faf70ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007faf70ad4e65 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 #21 0x00007faf70ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007faf70ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007faf70ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007faf70ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007faf70ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007faf70ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007faf70ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007faf70ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007faf70ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007faf70ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007faf70ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007faf70ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007faf70ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007faf70ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007faf70ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007faf70ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007faf70ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007faf70ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007faf70a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007faf70a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007faf70a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007faf70a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007faf70f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007faf70f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007faf70f86b68 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 #46 0x00007faf70a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007faf70a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007faf70a6bf90 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 #49 0x00007faf70a6bf90 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 #50 0x00007faf70a6bf90 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 #51 0x00007faf70a6bf90 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 #52 0x00007faf70a6bf90 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 #53 0x00007faf70a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007faf70a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007faf70a6bf90 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 #56 0x00007faf70a3f21a 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:0 #57 0x00007faf70a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007faf70a5109a clang::ento::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 0x00007faf70d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007faf70d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007faf70d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007faf70d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007faf70d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007faf70d4e0a7 llvm::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 0x00007faf70d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007faf70d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007faf70d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007faf70d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007faf70d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007faf70d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007faf70d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007faf6f10724a __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 0x00007faf6f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007faf6f10724a void clang::finalize>, 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 0x00007faf6f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007faf70844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007faf707f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007faf707f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007faf707f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007faf708948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005597f2d6ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005597f2d6f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005597f2d71440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005597f2d65903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007faf6743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007faf6743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005597f2d65945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-safe.c.script: line 2: 557984 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1091 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-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 0x00007f2da47d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2da47ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f2da47d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2da3854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2dad235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2dad235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2dad235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2dad235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2dad235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2dad235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2dad235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2dad235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2daced408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2daced408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2daced408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2daced408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2daced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2daced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2daced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2daced408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2daced4e65 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 #21 0x00007f2daced4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2daced4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2daced4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2daceb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2daceb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2daceb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2daced643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2daced643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2daced643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2dacee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2dacee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2dacee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2dacee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2dacee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2dacee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2dacee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2dacee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2dacee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2dace3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2dace3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2dace3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2dace3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2dad386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2dad386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2dad386b68 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 #46 0x00007f2dacf7f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f2dacf7f794 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:0 #48 0x00007f2dacf7f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007f2dacf7f794 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:0 #50 0x00007f2dace1b7ad 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:5 #51 0x00007f2dace68471 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 #52 0x00007f2dace68471 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 #53 0x00007f2dace69840 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 #54 0x00007f2dace69840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007f2dace69840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007f2dace69840 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 #57 0x00007f2dace77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007f2dace77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007f2dace77a6a 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:15 #60 0x00007f2dace9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007f2dace9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007f2dace9bf62 clang::ento::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 #63 0x00007f2dace9dc4e clang::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 0x00007f2dace9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f2dace3fac2 clang::ento::CoreEngine::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 0x00007f2dace5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007f2dace5109a clang::ento::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 0x00007f2dad14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007f2dad14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007f2dad14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007f2dad14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007f2dad14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007f2dad14e0a7 llvm::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 0x00007f2dad14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007f2dad14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007f2dad151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007f2dad151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007f2dad151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007f2dad151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007f2dad151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007f2dab50724a __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 0x00007f2dab50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007f2dab50724a void clang::finalize>, 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 0x00007f2dab50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007f2dacc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007f2dacbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007f2dacbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007f2dacbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007f2dacc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000055ff88439a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000055ff8843d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000055ff8843f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000055ff88433903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007f2da383ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007f2da383f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055ff88433945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-region-store.m.script: line 1: 557982 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-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/retaincountchecker-compoundregion.m (1093 of 19712) ******************** TEST 'Clang :: Analysis/retaincountchecker-compoundregion.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7e71bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7e71bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7e71bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7e70c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7e7a48e04e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f7e7a48e04e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7e7a48e04e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7e7a48e04e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7e7a48e04e llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7e7a48e04e 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 0x00007f7e7a48e04e get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f7e7a48e04e 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 0x00007f7e7a48e865 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f7e7a48e865 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f7e7a48e865 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 0x00007f7e7a22397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f7e7a22397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f7e7a22397a 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:29 #18 0x00007f7e7a22397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f7e7a2e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f7e7a2e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f7e7a2e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f7e7a2e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f7e7a2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f7e7a2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f7e7a2e9060 clang::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 0x00007f7e7a23da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f7e7a23da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f7e7a23da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f7e7a23da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f7e7a786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f7e7a786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f7e7a786b68 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 0x00007f7e7a37f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #34 0x00007f7e7a37f794 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:0 #35 0x00007f7e7a37f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #36 0x00007f7e7a37f794 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:0 #37 0x00007f7e7a21b7ad 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:5 #38 0x00007f7e7a268471 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 0x00007f7e7a268471 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 0x00007f7e7a269840 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 0x00007f7e7a269840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x00007f7e7a269840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x00007f7e7a269840 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 0x00007f7e7a277a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x00007f7e7a277a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f7e7a277a6a 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:15 #47 0x00007f7e7a29bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #48 0x00007f7e7a29bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #49 0x00007f7e7a29bf62 clang::ento::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 0x00007f7e7a29dc4e clang::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 0x00007f7e7a29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7e7a23fac2 clang::ento::CoreEngine::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 0x00007f7e7a25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x00007f7e7a25109a clang::ento::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 0x00007f7e7a54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f7e7a54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f7e7a54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f7e7a54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f7e7a54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f7e7a54e0a7 llvm::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 0x00007f7e7a54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f7e7a54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f7e7a551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f7e7a551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f7e7a551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f7e7a551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f7e7a551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f7e7890724a __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 0x00007f7e7890724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f7e7890724a void clang::finalize>, 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 0x00007f7e7890724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f7e7a044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f7e79ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f7e79ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f7e79ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f7e7a0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055a2207d0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055a2207d470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055a2207d6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055a2207ca903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f7e70c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f7e70c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055a2207ca945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retaincountchecker-compoundregion.m.script: line 1: 558001 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-ptr-range.cpp (1094 of 19712) ******************** TEST 'Clang :: Analysis/return-ptr-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 #0 0x00007fc351bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc351bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc351bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc350c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc35a635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc35a635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc35a635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc35a635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc35a635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc35a635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc35a635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc35a635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc35a2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc35a2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc35a2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc35a2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc35a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc35a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc35a2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc35a2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc35a2d4e65 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 #21 0x00007fc35a2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc35a2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc35a2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc35a2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc35a2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc35a2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc35a2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc35a2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc35a2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc35a2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc35a2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc35a2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc35a2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc35a2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc35a2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc35a2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc35a2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc35a2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc35a23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc35a23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc35a23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc35a23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc35a23df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fc35a23df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fc35a23df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fc35a20953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fc35a20953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fc35a20953e 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 #49 0x00007fc35a250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fc35a250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fc35a250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fc35a25149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fc35a25149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fc35a25149e 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 #55 0x00007fc35a54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fc35a54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fc35a54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fc35a54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fc35a54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fc35a54e0a7 llvm::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 0x00007fc35a54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fc35a54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fc35a551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fc35a551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fc35a551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fc35a551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fc35a551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fc35890724a __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 0x00007fc35890724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fc35890724a void clang::finalize>, 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 0x00007fc35890724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fc35a044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fc359ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fc359ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fc359ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fc35a0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055fa053bda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055fa053c170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055fa053c3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055fa053b7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007fc350c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007fc350c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055fa053b7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-ptr-range.cpp.script: line 1: 558012 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/retain-release.m (1095 of 19712) ******************** TEST 'Clang :: Analysis/retain-release.m' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f291c5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f291c5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f291c5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f291b654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2925035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2925035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2925035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2925035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2925035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2925035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2925035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2925035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2924cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2924cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2924cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2924cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2924cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2924cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2924cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2924cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2924cd4e65 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 #21 0x00007f2924cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2924cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2924cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2924cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2924cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2924cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2924cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2924cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2924cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2924ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2924ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2924ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2924ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2924ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2924ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2924ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2924ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2924ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2924c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2924c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2924c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2924c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2925186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2925186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2925186b68 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 #46 0x00007f2924c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f2924c69db3 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 #48 0x00007f2924c69db3 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 #49 0x00007f2924c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f2924c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f2924c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f2924c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f2924c9d93e clang::ento::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 #54 0x00007f2924c9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f2924c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f2924c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f2924c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f2924c5109a clang::ento::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 0x00007f2924f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f2924f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f2924f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f2924f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f2924f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f2924f4e0a7 llvm::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 0x00007f2924f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f2924f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f2924f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f2924f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f2924f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f2924f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f2924f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f292330724a __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 0x00007f292330724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f292330724a void clang::finalize>, 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 0x00007f292330724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f2924a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f29249f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f29249f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f29249f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f2924a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000562e61fc8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000562e61fcc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000562e61fce440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000562e61fc2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f291b63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f291b63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000562e61fc2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.script: line 6: 557997 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/returns_nonnull-attribute.cpp (1101 of 19712) ******************** TEST 'Clang :: Analysis/returns_nonnull-attribute.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f40c2bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f40c2bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f40c2bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f40cc321ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f40cb635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f40cb635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f40cb635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f40cb635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f40cb635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f40cb635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f40cb635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f40cb635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f40cb2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f40cb2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f40cb2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f40cb2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f40cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f40cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f40cb2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f40cb2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f40cb2d4e65 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 #21 0x00007f40cb2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f40cb2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f40cb2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f40cb2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f40cb2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f40cb2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f40cb2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f40cb2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f40cb2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f40cb2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f40cb2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f40cb2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f40cb2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f40cb2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f40cb2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f40cb2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f40cb2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f40cb2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f40cb23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f40cb23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f40cb23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f40cb23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f40cb786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f40cb786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f40cb786b68 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 #46 0x00007f40cb326796 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f40cb326796 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 #48 0x00007f40cb326796 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x00007f40cb326796 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x00007f40cb326796 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:0 #51 0x00007f40cb22561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007f40cb22561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007f40cb22561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007f40cb22561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007f40cb22561d 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:26 #56 0x00007f40cb27eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007f40cb27eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007f40cb27eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007f40cb27eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007f40cb27eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007f40cb27eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007f40cb27eac9 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:0 #63 0x00007f40cb27f767 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:0 #64 0x00007f40cb29c6f1 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 #65 0x00007f40cb29c6f1 clang::ento::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 #66 0x00007f40cb29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007f40cb29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007f40cb23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007f40cb25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007f40cb25109a clang::ento::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 0x00007f40cb54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007f40cb54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007f40cb54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007f40cb54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007f40cb54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007f40cb54e0a7 llvm::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 0x00007f40cb54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007f40cb54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007f40cb551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007f40cb551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007f40cb551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007f40cb551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007f40cb551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007f40c990724a __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 0x00007f40c990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007f40c990724a void clang::finalize>, 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 0x00007f40c990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007f40cb044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007f40caff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007f40caff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007f40caff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007f40cb0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000556b3a2c2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000556b3a2c670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000556b3a2c8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000556b3a2bc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007f40cc30bf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007f40cc30c009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000556b3a2bc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/returns_nonnull-attribute.cpp.script: line 1: 558042 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1102 of 19712) ******************** TEST 'Clang :: Analysis/rvo.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5afe1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5afe1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5afe1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5afd254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5b0686f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f5b0686f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f5b0686f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f5b0686f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f5b0686f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f5b0686f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f5b0686f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f5b0686f83e 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 0x00007f5b06835656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f5b06835656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f5b06835656 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 0x00007f5b06835656 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 0x00007f5b0683722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f5b0683722c 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 0x00007f5b068e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f5b068e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f5b068e0dd8 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 #21 0x00007f5b068e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f5b068e1579 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 #23 0x00007f5b0687e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f5b0687e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f5b0687e6c7 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 #26 0x00007f5b0689353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f5b0689353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f5b0689353e 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 #29 0x00007f5b06893f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f5b06893f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f5b06893f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5b06893f1d 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 #33 0x00007f5b0683ce4e 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 0x00007f5b06899b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f5b06899b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f5b06899b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f5b06899b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f5b06899b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f5b06899b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f5b06899b59 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 #41 0x00007f5b0689c69e 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 0x00007f5b0689c69e clang::ento::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 #43 0x00007f5b0689dc4e clang::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 0x00007f5b0689df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f5b0683fac2 clang::ento::CoreEngine::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 0x00007f5b0685109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f5b0685109a clang::ento::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 0x00007f5b06b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f5b06b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f5b06b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f5b06b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f5b06b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f5b06b4e0a7 llvm::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 0x00007f5b06b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f5b06b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f5b06b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f5b06b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f5b06b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f5b06b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f5b06b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f5b04f0724a __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 0x00007f5b04f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f5b04f0724a void clang::finalize>, 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 0x00007f5b04f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f5b06644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f5b065f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f5b065f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f5b065f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f5b066948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055f468d75a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055f468d7970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055f468d7b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055f468d6f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f5afd23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f5afd23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055f468d6f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/rvo.cpp.script: line 1: 558070 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/runtime-regression.c (1103 of 19712) ******************** TEST 'Clang :: Analysis/runtime-regression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fea4f7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fea4f7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fea4f7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fea4e854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fea58235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fea58235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fea58235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fea58235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fea58235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fea58235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fea58235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fea58235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fea57ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fea57ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fea57ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fea57ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fea57ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fea57ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fea57ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fea57ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fea57ed4e65 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 #21 0x00007fea57ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fea57ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fea57ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fea57ed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fea57ed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fea57ed6cdb 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 #27 0x00007fea57ed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fea57ed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fea57ed64ad 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 #30 0x00007fea57ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fea57ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fea57ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fea57ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fea57ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fea57ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fea57ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fea57ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fea57ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fea57e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fea57e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fea57e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fea57e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fea57f80bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007fea57f80bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007fea57f80bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007fea57f80bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007fea57f80bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007fea57f80bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007fea57f80bdc 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:0 #50 0x00007fea57e1a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007fea57e1a9db 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:26 #52 0x00007fea57e75663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007fea57e75663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007fea57e75663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007fea57e75663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007fea57e75663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007fea57e75663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007fea57e75663 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:44 #59 0x00007fea57e9d82f 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 0x00007fea57e9d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007fea57e9dc4e clang::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 0x00007fea57e9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fea57e3fac2 clang::ento::CoreEngine::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 0x00007fea57e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007fea57e5109a clang::ento::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 0x00007fea5814c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007fea5814c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007fea5814c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007fea5814c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007fea5814c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007fea5814e0a7 llvm::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 0x00007fea5814e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007fea5814e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007fea58151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007fea58151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007fea58151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007fea58151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007fea58151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007fea5650724a __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 0x00007fea5650724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007fea5650724a void clang::finalize>, 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 0x00007fea5650724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007fea57c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007fea57bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007fea57bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007fea57bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007fea57c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000055ed093c8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000055ed093cc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000055ed093ce440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000055ed093c2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007fea4e83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007fea4e83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000055ed093c2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/runtime-regression.c.script: line 1: 558056 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/self-assign.cpp (1111 of 19712) ******************** TEST 'Clang :: Analysis/self-assign.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f87921d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f87921ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f87921d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8791254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f879a86f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f879a86f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f879a86f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f879a86f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f879a86f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f879a86f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f879a86f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f879a86f83e 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 0x00007f879a835656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007f879a835656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007f879a835656 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 0x00007f879a835656 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 0x00007f879a83722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007f879a83722c 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 0x00007f879a8e0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007f879a8e0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007f879a8e0dd8 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 #21 0x00007f879a8e1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007f879a8e1579 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 #23 0x00007f879a87e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007f879a87e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007f879a87e6c7 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 #26 0x00007f879a89353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f879a89353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f879a89353e 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 #29 0x00007f879a893f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007f879a893f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007f879a893f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f879a893f1d 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 #33 0x00007f879a83ce4e 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 0x00007f879a899b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007f879a899b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007f879a899b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007f879a899b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007f879a899b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007f879a899b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007f879a899b59 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 #41 0x00007f879a89c69e 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 0x00007f879a89c69e clang::ento::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 #43 0x00007f879a89dc4e clang::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 0x00007f879a89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f879a83fac2 clang::ento::CoreEngine::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 0x00007f879a85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007f879a85109a clang::ento::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 0x00007f879ab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007f879ab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007f879ab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007f879ab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007f879ab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007f879ab4e0a7 llvm::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 0x00007f879ab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007f879ab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007f879ab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007f879ab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007f879ab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007f879ab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007f879ab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007f8798f0724a __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 0x00007f8798f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007f8798f0724a void clang::finalize>, 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 0x00007f8798f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007f879a644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007f879a5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007f879a5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007f879a5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007f879a6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000055b52e6fda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000055b52e70170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000055b52e703440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000055b52e6f7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x00007f879123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #75 0x00007f879123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #76 0x000055b52e6f7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-assign.cpp.script: line 1: 558224 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/self-init.m (1112 of 19712) ******************** TEST 'Clang :: Analysis/self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f55c71d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f55c71ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f55c71d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f55c6254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f55cfc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f55cfc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f55cfc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f55cfc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f55cfc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f55cfc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f55cfc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f55cfc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f55cf8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f55cf8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f55cf8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f55cf8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f55cf8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f55cf8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f55cf8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f55cf8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f55cf8d4e65 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 #21 0x00007f55cf8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f55cf8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f55cf8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f55cf8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f55cf8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f55cf8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f55cf8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f55cf8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f55cf8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f55cf8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f55cf8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f55cf8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f55cf8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f55cf8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f55cf8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f55cf8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f55cf8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f55cf8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f55cf83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f55cf83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f55cf83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f55cf83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f55cf83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f55cf83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f55cf83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f55cf80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f55cf80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f55cf80953e 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 #49 0x00007f55cf850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f55cf850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f55cf850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f55cf85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f55cf85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f55cf85149e 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 #55 0x00007f55cfb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f55cfb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f55cfb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f55cfb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f55cfb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f55cfb4e0a7 llvm::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 0x00007f55cfb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f55cfb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f55cfb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f55cfb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f55cfb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f55cfb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f55cfb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f55cdf0724a __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 0x00007f55cdf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f55cdf0724a void clang::finalize>, 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 0x00007f55cdf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f55cf644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f55cf5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f55cf5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f55cf5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f55cf6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005608ccc35a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005608ccc3970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005608ccc3b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005608ccc2f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f55c623ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f55c623f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005608ccc2f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-init.m.script: line 2: 558244 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/shallow-mode.m (1113 of 19712) ******************** TEST 'Clang :: Analysis/shallow-mode.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007feee77d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007feee77ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007feee77d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007feee6854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007feef0235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007feef0235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007feef0235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007feef0235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007feef0235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007feef0235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007feef0235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007feef0235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007feeefed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007feeefed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007feeefed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007feeefed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007feeefed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007feeefed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007feeefed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007feeefed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007feeefed4e65 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 #21 0x00007feeefed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007feeefed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007feeefed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007feeefeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007feeefeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007feeefeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007feeefed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007feeefed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007feeefed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007feeefee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007feeefee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007feeefee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007feeefee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007feeefee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007feeefee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007feeefee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007feeefee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007feeefee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007feeefe3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007feeefe3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007feeefe3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007feeefe3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007feeefe3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007feeefe3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007feeefe3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007feeefe0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007feeefe0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007feeefe0953e 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 #49 0x00007feeefe50eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007feeefe50eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007feeefe50eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007feeefe5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007feeefe5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007feeefe5149e 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 #55 0x00007feef014c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007feef014c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007feef014c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007feef014c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007feef014c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007feef014e0a7 llvm::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 0x00007feef014e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007feef014e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007feef0151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007feef0151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007feef0151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007feef0151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007feef0151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007feeee50724a __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 0x00007feeee50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007feeee50724a void clang::finalize>, 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 0x00007feeee50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007feeefc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007feeefbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007feeefbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007feeefbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007feeefc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055d2ce4c2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055d2ce4c670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055d2ce4c8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055d2ce4bc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007feee683ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007feee683f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055d2ce4bc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/shallow-mode.m.script: line 1: 558269 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/simple-stream-checks.c (1114 of 19712) ******************** TEST 'Clang :: Analysis/simple-stream-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9d683d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9d683ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9d683d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9d67454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9d70ca3216 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9d70ca3216 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9d70ca3216 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9d70ca3216 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f9d70ca3216 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f9d70ca3216 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f9d70ca3216 get<(anonymous namespace)::StreamMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f9d70ca3216 (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:0 #12 0x00007f9d70a1bfa7 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 0x00007f9d70a6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f9d70a6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f9d70a6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f9d70a6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f9d70a6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f9d70a6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f9d70a6f23c 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 0x00007f9d70a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f9d70a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9d70a3fac2 clang::ento::CoreEngine::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 0x00007f9d70a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f9d70a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f9d70d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f9d70d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f9d70d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f9d70d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f9d70d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f9d70d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f9d70d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f9d70d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f9d70d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f9d70d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f9d70d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f9d70d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f9d70d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f9d6f10724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f9d6f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f9d6f10724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f9d6f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f9d70844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f9d707f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f9d707f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f9d707f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f9d708948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055c6fbb9aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055c6fbb9e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055c6fbba0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055c6fbb94903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f9d6743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f9d6743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055c6fbb94945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/simple-stream-checks.c.script: line 1: 558317 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/scan-build/silence-core-checkers.test (1115 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple x86_64-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=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-OpenCloudOS-linux/12/../../../../x86_64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-07-10-211014-558142-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 0x00007f65159d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f65159ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f65159d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6514a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f651e435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f651e435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f651e435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f651e435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f651e435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f651e435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f651e435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f651e435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f651e0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f651e0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f651e0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f651e0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f651e0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f651e0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f651e0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f651e0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f651e0d4e65 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 #21 0x00007f651e0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f651e0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f651e0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f651e0d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f651e0d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f651e0d6cdb 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 #27 0x00007f651e0d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f651e0d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f651e0d64ad 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 #30 0x00007f651e0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f651e0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f651e0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f651e0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f651e0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f651e0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f651e0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f651e0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f651e0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f651e03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f651e03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f651e03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f651e03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f651e586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f651e586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f651e586b68 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 #46 0x00007f651e06bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f651e06bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f651e06bf90 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 #49 0x00007f651e06bf90 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 #50 0x00007f651e06bf90 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 #51 0x00007f651e06bf90 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 #52 0x00007f651e06bf90 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 #53 0x00007f651e06bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f651e06bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f651e06bf90 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 #56 0x00007f651e03f21a 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:0 #57 0x00007f651e05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f651e05109a clang::ento::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 0x00007f651e34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f651e34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f651e34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f651e34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f651e34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f651e34e0a7 llvm::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 0x00007f651e34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f651e34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f651e351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f651e351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f651e351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f651e351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f651e351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f651c70724a __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 0x00007f651c70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f651c70724a void clang::finalize>, 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 0x00007f651c70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f651de44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f651ddf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f651ddf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f651ddf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f651de948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055bd8d26fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055bd8d27370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055bd8d275440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055bd8d269903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6514a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6514a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055bd8d269945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17+0xd945) $ "/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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-07-10-211014-558142-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/silence-checkers-and-packages-core-all.cpp (1116 of 19712) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-all.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc3e29d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc3e29ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc3e29d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc3ec113ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc3eb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc3eb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc3eb435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc3eb435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc3eb435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc3eb435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc3eb435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc3eb435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc3eb0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc3eb0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc3eb0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc3eb0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc3eb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc3eb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc3eb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc3eb0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc3eb0d4e65 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 #21 0x00007fc3eb0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc3eb0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc3eb0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc3eb0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc3eb0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc3eb0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc3eb0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc3eb0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc3eb0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc3eb0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc3eb0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc3eb0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc3eb0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc3eb0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc3eb0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc3eb0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc3eb0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc3eb0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc3eb03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc3eb03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc3eb03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc3eb03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc3eb586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fc3eb586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fc3eb586b68 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 #46 0x00007fc3eb06bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fc3eb06bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fc3eb06bf90 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 #49 0x00007fc3eb06bf90 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 #50 0x00007fc3eb06bf90 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 #51 0x00007fc3eb06bf90 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 #52 0x00007fc3eb06bf90 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 #53 0x00007fc3eb06bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fc3eb06bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fc3eb06bf90 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 #56 0x00007fc3eb03f21a 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:0 #57 0x00007fc3eb05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fc3eb05109a clang::ento::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 0x00007fc3eb34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fc3eb34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fc3eb34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fc3eb34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fc3eb34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fc3eb34e0a7 llvm::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 0x00007fc3eb34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fc3eb34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fc3eb351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fc3eb351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fc3eb351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fc3eb351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fc3eb351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fc3e970724a __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 0x00007fc3e970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fc3e970724a void clang::finalize>, 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 0x00007fc3e970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fc3eae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fc3eadf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fc3eadf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fc3eadf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fc3eae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055bc1521aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055bc1521e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055bc15220440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055bc15214903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fc3ec0fdf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fc3ec0fe009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055bc15214945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-all.cpp.script: line 4: 558294 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1117 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa34bfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa34bfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa34bfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa34b054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa354a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa354a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa354a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa354a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa354a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa354a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa354a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa354a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa3546d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa3546d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa3546d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa3546d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa3546d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa3546d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa3546d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa3546d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa3546d4e65 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 #21 0x00007fa3546d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa3546d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa3546d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa3546b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa3546b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa3546b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa3546d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa3546d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa3546d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa3546e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa3546e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa3546e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa3546e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa3546e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa3546e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa3546e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa3546e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa3546e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa35463da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa35463da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa35463da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa35463da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa354b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa354b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa354b86b68 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 #46 0x00007fa35466bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fa35466bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fa35466bf90 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 #49 0x00007fa35466bf90 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 #50 0x00007fa35466bf90 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 #51 0x00007fa35466bf90 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 #52 0x00007fa35466bf90 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 #53 0x00007fa35466bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fa35466bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fa35466bf90 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 #56 0x00007fa35463f21a 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:0 #57 0x00007fa35465109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fa35465109a clang::ento::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 0x00007fa35494c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fa35494c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fa35494c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fa35494c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fa35494c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fa35494e0a7 llvm::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 0x00007fa35494e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fa35494e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fa354951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fa354951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fa354951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fa354951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fa354951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fa352d0724a __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 0x00007fa352d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fa352d0724a void clang::finalize>, 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 0x00007fa352d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fa354444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fa3543f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fa3543f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fa3543f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fa3544948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e03b40ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e03b41270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e03b414440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e03b408903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fa34b03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fa34b03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e03b408945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-div-by-zero.cpp.script: line 1: 558296 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1118 of 19712) ******************** TEST 'Clang :: Analysis/silence-checkers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff417fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff417fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff417fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff417054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff420a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff420a14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff420a14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff420a14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff420a14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff420a14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff420a14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff420a14a5e (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 0x00007ff4207e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007ff4207e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007ff4207e8fd5 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 0x00007ff42062397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007ff42062397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007ff42062397a 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:29 #18 0x00007ff42062397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007ff4206e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007ff4206e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007ff4206e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007ff4206e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007ff4206e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007ff4206e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007ff4206e9060 clang::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 0x00007ff42063db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007ff42063db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007ff42063db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007ff42063db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007ff420b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007ff420b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007ff420b86b68 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 0x00007ff420815ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007ff420815ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007ff420815ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007ff420815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007ff420815ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007ff420815ff0 (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 0x00007ff42081647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007ff42081647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007ff42081647b (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 0x00007ff42081851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007ff42081851b 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 0x00007ff42062561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007ff42062561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007ff42062561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007ff42062561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007ff42062561d 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:26 #49 0x00007ff42067ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007ff42067ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007ff42067ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007ff42067ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007ff42067ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007ff42067ecbc 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:0 #55 0x00007ff42067f767 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:0 #56 0x00007ff42069c6f1 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 0x00007ff42069c6f1 clang::ento::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 0x00007ff42069dc4e clang::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 0x00007ff42069df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff42063fac2 clang::ento::CoreEngine::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 0x00007ff42065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007ff42065109a clang::ento::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 0x00007ff42094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007ff42094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007ff42094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007ff42094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007ff42094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007ff42094e0a7 llvm::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 0x00007ff42094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007ff42094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007ff420951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007ff420951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007ff420951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007ff420951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007ff420951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007ff41ed0724a __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 0x00007ff41ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007ff41ed0724a void clang::finalize>, 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 0x00007ff41ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007ff420444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007ff4203f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007ff4203f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007ff4203f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007ff4204948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x0000564e0423fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000564e0424370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000564e04245440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000564e04239903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007ff41703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007ff41703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x0000564e04239945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers.cpp.script: line 3: 558315 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/smart-ptr-text-output.cpp (1119 of 19712) ******************** TEST 'Clang :: Analysis/smart-ptr-text-output.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f02095d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f02095ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f02095d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0208654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f021213d5af llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f021213d5af llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f021213d5af llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f021213d5af llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f021213d5af llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f021213d5af 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 0x00007f021213d5af get<(anonymous namespace)::TrackedRegionMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f021213d5af (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 0x00007f0211e873ff 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 0x00007f0211e873ff llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f0211e873ff llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f0211e873ff 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 0x00007f0211c235ba llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f0211c235ba llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f0211c235ba 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:12 #19 0x00007f0211c235ba clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #20 0x00007f0211c6f0a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x00007f0211c6f0a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x00007f0211c6f0a4 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 0x00007f0211c9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #24 0x00007f0211c9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x00007f0211c3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x00007f0211c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x00007f0211c5109a clang::ento::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 0x00007f0211f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x00007f0211f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x00007f0211f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x00007f0211f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x00007f0211f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x00007f0211f4e0a7 llvm::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 0x00007f0211f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x00007f0211f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x00007f0211f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x00007f0211f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x00007f0211f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x00007f0211f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x00007f0211f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x00007f021030724a __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 0x00007f021030724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x00007f021030724a void clang::finalize>, 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 0x00007f021030724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x00007f0211a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x00007f02119f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x00007f02119f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x00007f02119f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x00007f0211a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x00005626d7513a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x00005626d751770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x00005626d7519440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x00005626d750d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x00007f020863ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #55 0x00007f020863f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #56 0x00005626d750d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr-text-output.cpp.script: line 2: 558345 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1120 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-adjustment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe2559d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe2559ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe2559d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe254a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe25e0c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fe25e0c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fe25e0c7b03 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fe25e0c7b03 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fe25e0c7b03 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fe25e0c7b03 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fe25e0c7b03 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fe25e0c7b03 (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:63 #12 0x00007fe25e0c9fe0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fe25e0c9fe0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fe25e0c9fe0 (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:60 #15 0x00007fe25e0d4425 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fe25e0d4425 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fe25e0d4425 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #18 0x00007fe25e0d4425 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #19 0x00007fe25e0d4425 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #20 0x00007fe25e0d4425 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #21 0x00007fe25e0d4425 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #22 0x00007fe25e0d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #23 0x00007fe25e0d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #24 0x00007fe25e0d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #25 0x00007fe25e0d4425 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #26 0x00007fe25e0d4c2b 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 #27 0x00007fe25e0d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x00007fe25e0d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe25e0d4c2b (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:31 #30 0x00007fe25e0d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fe25e0d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fe25e0d6cdb 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 #33 0x00007fe25e0e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fe25e0e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fe25e0e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #36 0x00007fe25e0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #37 0x00007fe25e0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #38 0x00007fe25e0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #39 0x00007fe25e0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe25e0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe25e0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #42 0x00007fe25e03da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007fe25e03da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007fe25e03da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #45 0x00007fe25e03da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #46 0x00007fe25e586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x00007fe25e586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007fe25e586b68 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 #49 0x00007fe25e06bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #50 0x00007fe25e06bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #51 0x00007fe25e06bf90 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 #52 0x00007fe25e06bf90 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 #53 0x00007fe25e06bf90 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 #54 0x00007fe25e06bf90 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 #55 0x00007fe25e06bf90 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 #56 0x00007fe25e06bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #57 0x00007fe25e06bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #58 0x00007fe25e06bf90 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 #59 0x00007fe25e03f21a 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:0 #60 0x00007fe25e05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x00007fe25e05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x00007fe25e34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x00007fe25e34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x00007fe25e34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x00007fe25e34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x00007fe25e34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x00007fe25e34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x00007fe25e34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x00007fe25e34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x00007fe25e351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x00007fe25e351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x00007fe25e351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x00007fe25e351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x00007fe25e351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x00007fe25c70724a __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 0x00007fe25c70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x00007fe25c70724a void clang::finalize>, 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 0x00007fe25c70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x00007fe25de44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x00007fe25ddf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x00007fe25ddf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x00007fe25ddf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x00007fe25de948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000055b8bd6d3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000055b8bd6d770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000055b8bd6d9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000055b8bd6cd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x00007fe254a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #89 0x00007fe254a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #90 0x000055b8bd6cd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-adjustment.c.script: line 1: 558350 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/solver-sym-simplification-ptr-bool.cl (1121 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-ptr-bool.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0f393d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0f393ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0f393d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0f38454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0f41e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0f41e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0f41e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0f41e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0f41e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0f41e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0f41e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0f41e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0f41ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0f41ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0f41ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0f41ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0f41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0f41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0f41ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0f41ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0f41ad4e65 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 #21 0x00007f0f41ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0f41ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0f41ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0f41ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0f41ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0f41ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0f41ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0f41ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0f41ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0f41ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0f41ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0f41ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0f41ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0f41ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0f41ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0f41ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0f41ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0f41ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0f41a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0f41a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0f41a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0f41a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0f41f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f0f41f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f0f41f86b68 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 #46 0x00007f0f41a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f0f41a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f0f41a6bf90 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 #49 0x00007f0f41a6bf90 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 #50 0x00007f0f41a6bf90 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 #51 0x00007f0f41a6bf90 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 #52 0x00007f0f41a6bf90 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 #53 0x00007f0f41a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f0f41a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f0f41a6bf90 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 #56 0x00007f0f41a3f21a 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:0 #57 0x00007f0f41a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f0f41a5109a clang::ento::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 0x00007f0f41d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f0f41d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f0f41d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f0f41d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f0f41d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f0f41d4e0a7 llvm::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 0x00007f0f41d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f0f41d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f0f41d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f0f41d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f0f41d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f0f41d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f0f41d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f0f4010724a __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 0x00007f0f4010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f0f4010724a void clang::finalize>, 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 0x00007f0f4010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f0f41844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f0f417f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f0f417f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f0f417f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f0f418948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a7f472ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a7f473270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a7f4734440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a7f4728903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f0f3843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f0f3843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a7f4728945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-ptr-bool.cl.script: line 1: 558384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-concreteint.c (1122 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-concreteint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fef623d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fef623ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fef623d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fef61454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fef6ae35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fef6ae35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fef6ae35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fef6ae35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fef6ae35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fef6ae35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fef6ae35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fef6ae35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fef6aad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fef6aad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fef6aad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fef6aad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fef6aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fef6aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fef6aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fef6aad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fef6aad4e65 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 #21 0x00007fef6aad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fef6aad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fef6aad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fef6aab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fef6aab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fef6aab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fef6aad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fef6aad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fef6aad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fef6aae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fef6aae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fef6aae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fef6aae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fef6aae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fef6aae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fef6aae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fef6aae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fef6aae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fef6aa3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fef6aa3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fef6aa3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fef6aa3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fef6af86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fef6af86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fef6af86b68 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 #46 0x00007fef6aa6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fef6aa6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fef6aa6bf90 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 #49 0x00007fef6aa6bf90 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 #50 0x00007fef6aa6bf90 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 #51 0x00007fef6aa6bf90 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 #52 0x00007fef6aa6bf90 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 #53 0x00007fef6aa6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fef6aa6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fef6aa6bf90 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 #56 0x00007fef6aa3f21a 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:0 #57 0x00007fef6aa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fef6aa5109a clang::ento::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 0x00007fef6ad4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fef6ad4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fef6ad4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fef6ad4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fef6ad4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fef6ad4e0a7 llvm::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 0x00007fef6ad4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fef6ad4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fef6ad51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fef6ad51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fef6ad51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fef6ad51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fef6ad51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fef6910724a __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 0x00007fef6910724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fef6910724a void clang::finalize>, 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 0x00007fef6910724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fef6a844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fef6a7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fef6a7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fef6a7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fef6a8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055e6fa4a3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055e6fa4a770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055e6fa4a9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055e6fa49d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fef6143ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fef6143f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055e6fa49d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-concreteint.c.script: line 1: 558358 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stack-addr-ps.cpp (1123 of 19712) ******************** TEST 'Clang :: Analysis/stack-addr-ps.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f1a2d1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1a2d1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1a2d1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1a3690fad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1a3587d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1a3587d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1a3587d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1a3587d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f1a3587d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f1a3587d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f1a3587d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f1a3587d99e 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 0x00007f1a3583ed11 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 0x00007f1a3583fc1e 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 0x00007f1a3585109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f1a3585109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f1a35b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f1a35b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f1a35b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f1a35b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f1a35b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f1a35b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f1a35b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f1a35b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f1a35b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f1a35b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f1a35b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f1a35b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f1a35b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f1a33f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f1a33f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f1a33f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f1a33f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f1a35644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f1a355f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f1a355f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f1a355f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f1a356948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055a984122a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055a98412670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055a984128440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055a98411c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f1a368f9f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f1a368fa009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055a98411c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.cpp.script: line 1: 558419 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-addr-ps.c (1124 of 19712) ******************** TEST 'Clang :: Analysis/stack-addr-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 #0 0x00007f054bdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f054bdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f054bdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f054ae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f05544ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f05544ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f05544ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f05544ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f05544ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f05544ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f055446f34b 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 #11 0x00007f055446f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f055446f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f055446f34b 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:50 #14 0x00007f055447d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007f055447d731 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:0 #16 0x00007f055447ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007f055447ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007f055447ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007f055447ddf2 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 #20 0x00007f055443ed11 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 0x00007f055443fc1e 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 0x00007f055445109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007f055445109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007f055474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007f055474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007f055474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007f055474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007f055474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007f055474e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007f055474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007f055474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007f0554751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007f0554751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007f0554751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007f0554751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007f0554751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007f0552b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007f0552b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007f0552b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007f0552b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007f0554244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007f05541f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007f05541f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007f05541f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007f05542948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x0000560bfc24fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x0000560bfc25370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x0000560bfc255440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x0000560bfc249903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007f054ae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007f054ae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x0000560bfc249945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.c.script: line 1: 558397 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/solver-sym-simplification-no-crash.c (1125 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f09457d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f09457ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f09457d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0944854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f094dec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f094dec6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f094dec6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f094dec6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f094dec6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f094dec6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f094dec6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f094dec6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f094dec6be6 (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 0x00007f094dec7048 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 #14 0x00007f094dec7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f094dec7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f094dec7048 (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 #17 0x00007f094deecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f094deecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f094deecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f094deecee7 (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 #21 0x00007f094deec772 VisitSymSymExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1325:0 #22 0x00007f094deec772 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 #23 0x00007f094e33bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #24 0x00007f094e33bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #25 0x00007f094e33bf33 (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 #26 0x00007f094deb4298 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 #27 0x00007f094deb4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x00007f094deb4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f094deb4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #30 0x00007f094deb4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #31 0x00007f094deea4ea llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #32 0x00007f094deea4ea llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #33 0x00007f094deea4ea llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f094deea4ea (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #35 0x00007f094df01992 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x00007f094df01992 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x00007f094df01992 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 #38 0x00007f094de75f5f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x00007f094de75f5f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x00007f094de75f5f 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 #41 0x00007f094de75f5f 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:30 #42 0x00007f094de9d82f 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 0x00007f094de9d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #44 0x00007f094de9dc4e clang::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 0x00007f094de9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f094de3fac2 clang::ento::CoreEngine::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 0x00007f094de5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #48 0x00007f094de5109a clang::ento::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 0x00007f094e14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007f094e14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007f094e14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #52 0x00007f094e14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #53 0x00007f094e14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #54 0x00007f094e14e0a7 llvm::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 0x00007f094e14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x00007f094e14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #57 0x00007f094e151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x00007f094e151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x00007f094e151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x00007f094e151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x00007f094e151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x00007f094c50724a __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 0x00007f094c50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x00007f094c50724a void clang::finalize>, 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 0x00007f094c50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x00007f094dc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #67 0x00007f094dbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #68 0x00007f094dbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #69 0x00007f094dbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #70 0x00007f094dc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #71 0x00005643783d4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x00005643783d870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x00005643783da440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x00005643783ce903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x00007f094483ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #76 0x00007f094483f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #77 0x00005643783ce945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash.c.script: line 1: 558370 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-with-proper-range-type.c (1126 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe40dfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe40dfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe40dfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe40d054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe416a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe416a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe416a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe416a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe416a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe416a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe416a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe416a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe4166d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe4166d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe4166d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe4166d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe4166d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe4166d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe4166d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe4166d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe4166d4e65 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 #21 0x00007fe4166d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe4166d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe4166d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe4166b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe4166b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe4166b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe4166d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe4166d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe4166d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe4166e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe4166e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe4166e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe4166e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe4166e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe4166e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe4166e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe4166e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe4166e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe41663da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe41663da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe41663da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe41663da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe416b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe416b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe416b86b68 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 #46 0x00007fe416669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fe416669db3 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 #48 0x00007fe416669db3 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 #49 0x00007fe41669d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fe41669d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fe41669d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fe41669d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fe41669d93e clang::ento::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 #54 0x00007fe41669dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fe41669df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fe41663fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fe41665109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe41665109a clang::ento::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 0x00007fe41694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe41694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe41694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe41694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe41694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe41694e0a7 llvm::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 0x00007fe41694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe41694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe416951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe416951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe416951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe416951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe416951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe414d0724a __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 0x00007fe414d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe414d0724a void clang::finalize>, 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 0x00007fe414d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe416444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe4163f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe4163f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe4163f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe4164948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000056339573ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000056339574070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000563395742440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000563395736903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe40d03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe40d03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000563395736945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-with-proper-range-type.c.script: line 1: 558391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/solver-sym-simplification-no-crash2.c (1127 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe3c29d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe3c29ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe3c29d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe3c1a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe3cb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe3cb435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe3cb435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe3cb435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe3cb435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe3cb435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe3cb435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe3cb435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe3cb0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe3cb0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe3cb0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe3cb0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe3cb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe3cb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe3cb0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe3cb0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe3cb0d4e65 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 #21 0x00007fe3cb0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe3cb0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe3cb0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe3cb0d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe3cb0d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe3cb0d6cdb 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 #27 0x00007fe3cb0d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe3cb0d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe3cb0d64ad 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 #30 0x00007fe3cb0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe3cb0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe3cb0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe3cb0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe3cb0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe3cb0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe3cb0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe3cb0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe3cb0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe3cb03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe3cb03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe3cb03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe3cb03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe3cb180bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007fe3cb180bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007fe3cb180bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007fe3cb180bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007fe3cb180bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007fe3cb180bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007fe3cb180bdc 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:0 #50 0x00007fe3cb01a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007fe3cb01a9db 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:26 #52 0x00007fe3cb075663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007fe3cb075663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007fe3cb075663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007fe3cb075663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007fe3cb075663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007fe3cb075663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007fe3cb075663 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:44 #59 0x00007fe3cb09d82f 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 0x00007fe3cb09d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007fe3cb09dc4e clang::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 0x00007fe3cb09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe3cb03fac2 clang::ento::CoreEngine::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 0x00007fe3cb05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007fe3cb05109a clang::ento::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 0x00007fe3cb34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007fe3cb34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007fe3cb34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007fe3cb34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007fe3cb34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007fe3cb34e0a7 llvm::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 0x00007fe3cb34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007fe3cb34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007fe3cb351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007fe3cb351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007fe3cb351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007fe3cb351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007fe3cb351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007fe3c970724a __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 0x00007fe3c970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007fe3c970724a void clang::finalize>, 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 0x00007fe3c970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007fe3cae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007fe3cadf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007fe3cadf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007fe3cadf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007fe3cae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x00005612558a6a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x00005612558aa70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x00005612558ac440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x00005612558a0903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007fe3c1a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007fe3c1a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x00005612558a0945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash2.c.script: line 1: 558377 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/smart-ptr.cpp (1128 of 19712) ******************** TEST 'Clang :: Analysis/smart-ptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe4ddbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe4ddbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe4ddbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe4dcc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe4e6635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe4e6635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe4e6635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe4e6635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe4e6635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe4e6635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe4e6635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe4e6635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe4e62d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe4e62d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe4e62d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe4e62d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe4e62d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe4e62d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe4e62d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe4e62d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe4e62d4e65 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 #21 0x00007fe4e62d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe4e62d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe4e62d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe4e62b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe4e62b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe4e62b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe4e62d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe4e62d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe4e62d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe4e62e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe4e62e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe4e62e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe4e62e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe4e62e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe4e62e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe4e62e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe4e62e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe4e62e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe4e623da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe4e623da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe4e623da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe4e623da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe4e6786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe4e6786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe4e6786b68 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 #46 0x00007fe4e6326796 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fe4e6326796 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 #48 0x00007fe4e6326796 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x00007fe4e6326796 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x00007fe4e6326796 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:0 #51 0x00007fe4e622561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007fe4e622561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007fe4e622561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007fe4e622561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007fe4e622561d 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:26 #56 0x00007fe4e627eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007fe4e627eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007fe4e627eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007fe4e627eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007fe4e627eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007fe4e627eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007fe4e627eac9 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:0 #63 0x00007fe4e627f767 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:0 #64 0x00007fe4e629c6f1 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 #65 0x00007fe4e629c6f1 clang::ento::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 #66 0x00007fe4e629dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007fe4e629df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007fe4e623fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007fe4e625109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007fe4e625109a clang::ento::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 0x00007fe4e654c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007fe4e654c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007fe4e654c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007fe4e654c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007fe4e654c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007fe4e654e0a7 llvm::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 0x00007fe4e654e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007fe4e654e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007fe4e6551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007fe4e6551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007fe4e6551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007fe4e6551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007fe4e6551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007fe4e490724a __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 0x00007fe4e490724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007fe4e490724a void clang::finalize>, 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 0x00007fe4e490724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007fe4e6044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007fe4e5ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007fe4e5ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007fe4e5ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007fe4e60948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000564c86ff5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000564c86ff970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000564c86ffb440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000564c86fef903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007fe4dcc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007fe4dcc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000564c86fef945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr.cpp.script: line 2: 558349 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stackaddrleak.c (1129 of 19712) ******************** TEST 'Clang :: Analysis/stackaddrleak.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f416cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f416cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f416cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f416bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4175269126 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f4175269126 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4175269126 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4175269126 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f4175269126 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x00007f4175269126 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 0x00007f4175269126 contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x00007f4175269126 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 0x00007f417523f3d4 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:0 #13 0x00007f417523fb9e 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:223:0 #14 0x00007f417525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f417525109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f417554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f417554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f417554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f417554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f417554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f417554e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f417554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f417554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f4175551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f4175551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f4175551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f4175551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f4175551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f417390724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f417390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f417390724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f417390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f4175044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f4174ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f4174ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f4174ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f41750948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000561bdf096a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000561bdf09a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000561bdf09c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000561bdf090903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f416bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f416bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000561bdf090945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stackaddrleak.c.script: line 2: 558467 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-arc.mm (1130 of 19712) ******************** TEST 'Clang :: Analysis/stack-capture-leak-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fadd6bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fadd6bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fadd6bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fadd5c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faddf2ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007faddf2ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007faddf2ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007faddf2ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007faddf2ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007faddf2ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007faddf26f34b 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 #11 0x00007faddf26f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007faddf26f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007faddf26f34b 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:50 #14 0x00007faddf27d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007faddf27d731 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:0 #16 0x00007faddf27ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007faddf27ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007faddf27ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007faddf27ddf2 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 #20 0x00007faddf23ed11 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 0x00007faddf23fc1e 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 0x00007faddf25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007faddf25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007faddf54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007faddf54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007faddf54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007faddf54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007faddf54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007faddf54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007faddf54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007faddf54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007faddf551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007faddf551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007faddf551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007faddf551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007faddf551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007faddd90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007faddd90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007faddd90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007faddd90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007faddf044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007faddeff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007faddeff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007faddeff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007faddf0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000055bbdecb1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000055bbdecb570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000055bbdecb7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000055bbdecab903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007fadd5c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007fadd5c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x000055bbdecab945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-arc.mm.script: line 1: 558445 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-frame-context-revision.cpp (1132 of 19712) ******************** TEST 'Clang :: Analysis/stack-frame-context-revision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1bbf9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1bbf9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1bbf9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1bbea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1bc8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1bc8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1bc8435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1bc8435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1bc8435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1bc8435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1bc8435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1bc8435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1bc80d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1bc80d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1bc80d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1bc80d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1bc80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1bc80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1bc80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1bc80d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1bc80d4e65 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 #21 0x00007f1bc80d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1bc80d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1bc80d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f1bc80b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1bc80b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1bc80b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1bc80d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1bc80d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1bc80d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1bc80e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1bc80e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1bc80e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1bc80e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1bc80e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1bc80e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1bc80e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1bc80e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1bc80e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1bc803da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1bc803da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1bc803da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1bc803da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1bc8586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1bc8586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1bc8586b68 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 #46 0x00007f1bc806bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f1bc806bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f1bc806bf90 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 #49 0x00007f1bc806bf90 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 #50 0x00007f1bc806bf90 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 #51 0x00007f1bc806bf90 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 #52 0x00007f1bc806bf90 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 #53 0x00007f1bc806bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f1bc806bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f1bc806bf90 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 #56 0x00007f1bc803f21a 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:0 #57 0x00007f1bc805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f1bc805109a clang::ento::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 0x00007f1bc834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1bc834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1bc834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f1bc834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f1bc834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f1bc834e0a7 llvm::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 0x00007f1bc834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f1bc834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1bc8351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1bc8351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1bc8351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1bc8351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1bc8351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f1bc670724a __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 0x00007f1bc670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f1bc670724a void clang::finalize>, 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 0x00007f1bc670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1bc7e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1bc7df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1bc7df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1bc7df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1bc7e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055ed5509ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055ed5509f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055ed550a1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055ed55095903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1bbea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1bbea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055ed55095945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-frame-context-revision.cpp.script: line 1: 558460 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/static_local.m (1134 of 19712) ******************** TEST 'Clang :: Analysis/static_local.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4b6b1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4b6b1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4b6b1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4b74917ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4b73c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f4b73c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f4b73c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f4b73c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f4b73c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f4b73c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f4b73c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f4b73c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f4b738d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f4b738d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f4b738d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f4b738d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f4b738d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f4b738d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f4b738d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f4b738d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f4b738d4e65 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 #21 0x00007f4b738d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f4b738d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f4b738d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f4b738b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f4b738b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f4b738b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f4b738d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f4b738d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f4b738d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f4b738e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f4b738e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f4b738e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f4b738e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f4b738e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f4b738e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f4b738e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f4b738e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f4b738e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f4b7383da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f4b7383da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f4b7383da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f4b7383da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f4b7383df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f4b7383df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f4b7383df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f4b7380953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f4b7380953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f4b7380953e 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 #49 0x00007f4b73850eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f4b73850eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f4b73850eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f4b7385149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f4b7385149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f4b7385149e 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 #55 0x00007f4b73b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f4b73b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f4b73b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f4b73b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f4b73b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f4b73b4e0a7 llvm::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 0x00007f4b73b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f4b73b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f4b73b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f4b73b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f4b73b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f4b73b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f4b73b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f4b71f0724a __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 0x00007f4b71f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f4b71f0724a void clang::finalize>, 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 0x00007f4b71f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f4b73644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f4b735f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f4b735f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f4b735f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f4b736948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055a5d9085a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055a5d908970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055a5d908b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055a5d907f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f4b74901f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f4b74902009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055a5d907f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/static_local.m.script: line 1: 558477 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stack-capture-leak-no-arc.mm (1135 of 19712) ******************** TEST 'Clang :: Analysis/stack-capture-leak-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f99cddd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f99cddceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f99cddd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f99cce54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f99d6835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f99d6835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f99d6835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f99d6835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f99d6835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f99d6835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f99d6835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f99d6835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f99d64d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f99d64d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f99d64d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f99d64d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f99d64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f99d64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f99d64d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f99d64d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f99d64d4e65 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 #21 0x00007f99d64d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f99d64d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f99d64d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f99d64b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f99d64b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f99d64b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f99d64d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f99d64d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f99d64d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f99d64e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f99d64e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f99d64e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f99d64e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f99d64e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f99d64e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f99d64e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f99d64e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f99d64e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f99d643da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f99d643da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f99d643da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f99d643da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f99d6986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f99d6986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f99d6986b68 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 #46 0x00007f99d6526796 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f99d6526796 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 #48 0x00007f99d6526796 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x00007f99d6526796 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x00007f99d6526796 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:0 #51 0x00007f99d642561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007f99d642561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007f99d642561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007f99d642561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007f99d642561d 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:26 #56 0x00007f99d647eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007f99d647eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007f99d647eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007f99d647eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007f99d647eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007f99d647eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007f99d647eac9 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:0 #63 0x00007f99d647f767 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:0 #64 0x00007f99d649c6f1 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 #65 0x00007f99d649c6f1 clang::ento::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 #66 0x00007f99d649dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007f99d649df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007f99d643fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007f99d645109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007f99d645109a clang::ento::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 0x00007f99d674c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007f99d674c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007f99d674c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007f99d674c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007f99d674c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007f99d674e0a7 llvm::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 0x00007f99d674e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007f99d674e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007f99d6751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007f99d6751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007f99d6751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007f99d6751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007f99d6751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007f99d4b0724a __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 0x00007f99d4b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007f99d4b0724a void clang::finalize>, 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 0x00007f99d4b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007f99d6244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007f99d61f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007f99d61f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007f99d61f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007f99d62948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000562d2bfcaa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000562d2bfce70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000562d2bfd0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000562d2bfc4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007f99cce3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007f99cce3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000562d2bfc4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-no-arc.mm.script: line 1: 558449 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/std-c-library-functions-arg-constraints-notes.cpp (1136 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f23199d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f23199ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f23199d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2318a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2322435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2322435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2322435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2322435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2322435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2322435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2322435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2322435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f23220d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f23220d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f23220d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f23220d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f23220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f23220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f23220d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f23220d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f23220d5f52 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 #21 0x00007f23220d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f23220d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f23220d5f52 (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:34 #24 0x00007f23220d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f23220d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f23220d6a41 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 #27 0x00007f23220b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f23220b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f23220b415f 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 #30 0x00007f232203e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f232203e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f232203e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f232203e340 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:0 #34 0x00007f232206cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f232206cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f232206cbca 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 #37 0x00007f232206cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f232203f712 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 #39 0x00007f232205109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f232205109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f232234c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f232234c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f232234c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f232234c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f232234c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f232234e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f232234e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f232234e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f2322351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f2322351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f2322351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f2322351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f2322351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f232070724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f232070724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f232070724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f232070724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f2321e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f2321df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f2321df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f2321df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f2321e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x0000560f63445a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x0000560f6344970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x0000560f6344b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x0000560f6343f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f2318a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f2318a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x0000560f6343f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-notes.cpp.script: line 1: 558515 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (1137 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f28e21d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f28e21ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f28e21d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f28e1254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f28ea8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f28ea8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f28ea8ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f28ea8ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f28ea8ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f28ea8ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f28ea86f34b 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 #11 0x00007f28ea86f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f28ea86f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f28ea86f34b 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:50 #14 0x00007f28ea87d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007f28ea87d731 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:0 #16 0x00007f28ea87ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007f28ea87ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007f28ea87ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007f28ea87ddf2 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 #20 0x00007f28ea83ed11 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 0x00007f28ea83fc1e 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 0x00007f28ea85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007f28ea85109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007f28eab4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007f28eab4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007f28eab4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007f28eab4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007f28eab4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007f28eab4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007f28eab4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007f28eab4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007f28eab51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007f28eab51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007f28eab51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007f28eab51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007f28eab51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007f28e8f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007f28e8f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007f28e8f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007f28e8f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007f28ea644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007f28ea5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007f28ea5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007f28ea5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007f28ea6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000055ab972bda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000055ab972c170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000055ab972c3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000055ab972b7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007f28e123ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007f28e123f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x000055ab972b7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints.c.script: line 2: 558523 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-constraints-note-tags.cpp (1138 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6d919d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f6d919ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f6d919d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6d90a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6d9a0c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f6d9a0c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f6d9a0c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f6d9a0c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f6d9a0c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f6d9a0c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f6d9a0c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f6d9a0c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f6d9a0c6be6 (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 0x00007f6d9a0c7048 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 #14 0x00007f6d9a0c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f6d9a0c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f6d9a0c7048 (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 #17 0x00007f6d9a0b4497 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007f6d9a0b4497 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007f6d9a0b4497 (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 #20 0x00007f6d9a53bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #21 0x00007f6d9a53bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #22 0x00007f6d9a53bf33 (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 #23 0x00007f6d9a0b4298 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 #24 0x00007f6d9a0b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f6d9a0b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6d9a0b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #27 0x00007f6d9a0b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #28 0x00007f6d9a0b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x00007f6d9a0b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f6d9a0b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #31 0x00007f6d9a0d62c8 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 #32 0x00007f6d9a0d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #33 0x00007f6d9a0d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007f6d9a0d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #35 0x00007f6d9a0d67e4 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 #36 0x00007f6d9a0d67e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007f6d9a0d67e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007f6d9a0d67e4 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 #39 0x00007f6d9a0b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x00007f6d9a0b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x00007f6d9a0b415f 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 #42 0x00007f6d9a03e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007f6d9a03e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007f6d9a03e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #45 0x00007f6d9a03e340 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:0 #46 0x00007f6d9a03e674 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f6d9a03e674 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f6d9a03e674 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:0 #49 0x00007f6d9a2e0971 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #50 0x00007f6d9a2e0971 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #51 0x00007f6d9a2e0971 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #52 0x00007f6d9a2e0971 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&) (.lto_priv.0) /usr/include/c++/12/bits/std_function.h:290:0 #53 0x00007f6d9a2b410d applyOnRange /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:345:0 #54 0x00007f6d9a2b410d (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 #55 0x00007f6d9a2a05ae llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #56 0x00007f6d9a2a05ae llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #57 0x00007f6d9a2a05ae (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:62 #58 0x00007f6d9a02561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #59 0x00007f6d9a02561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x00007f6d9a02561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #61 0x00007f6d9a02561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #62 0x00007f6d9a02561d 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:26 #63 0x00007f6d9a07ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #64 0x00007f6d9a07ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #65 0x00007f6d9a07ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #66 0x00007f6d9a07ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #67 0x00007f6d9a07ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #68 0x00007f6d9a07ecbc 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:0 #69 0x00007f6d9a07f767 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:0 #70 0x00007f6d9a09c6f1 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 #71 0x00007f6d9a09c6f1 clang::ento::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 #72 0x00007f6d9a09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x00007f6d9a09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x00007f6d9a03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x00007f6d9a05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x00007f6d9a05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x00007f6d9a34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x00007f6d9a34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x00007f6d9a34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x00007f6d9a34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x00007f6d9a34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x00007f6d9a34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x00007f6d9a34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x00007f6d9a34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x00007f6d9a351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x00007f6d9a351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x00007f6d9a351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x00007f6d9a351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x00007f6d9a351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x00007f6d9870724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x00007f6d9870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x00007f6d9870724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x00007f6d9870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x00007f6d99e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x00007f6d99df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x00007f6d99df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x00007f6d99df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x00007f6d99e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x0000561a7763ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x0000561a7764270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x0000561a77644440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x0000561a77638903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x00007f6d90a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #104 0x00007f6d90a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #105 0x0000561a77638945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-note-tags.cpp.script: line 1: 558512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-inlined.c (1139 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-inlined.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbf2afd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbf2afceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbf2afd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbf2a054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbf336c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fbf336c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fbf336c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fbf336c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fbf336c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fbf336c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fbf336c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fbf336c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007fbf336c6be6 (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 0x00007fbf336c7048 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 #14 0x00007fbf336c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007fbf336c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007fbf336c7048 (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 #17 0x00007fbf336b4497 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x00007fbf336b4497 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007fbf336b4497 (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 #20 0x00007fbf33b3bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #21 0x00007fbf33b3bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #22 0x00007fbf33b3bf33 (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 #23 0x00007fbf336b4298 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 #24 0x00007fbf336b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007fbf336b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbf336b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #27 0x00007fbf336b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #28 0x00007fbf336b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x00007fbf336b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007fbf336b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #31 0x00007fbf336d62c8 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 #32 0x00007fbf336d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #33 0x00007fbf336d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007fbf336d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #35 0x00007fbf336d67e4 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 #36 0x00007fbf336d67e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007fbf336d67e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007fbf336d67e4 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 #39 0x00007fbf336b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x00007fbf336b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x00007fbf336b415f 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 #42 0x00007fbf3363e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007fbf3363e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007fbf3363e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #45 0x00007fbf3363e340 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:0 #46 0x00007fbf3363e674 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fbf3363e674 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fbf3363e674 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:0 #49 0x00007fbf338e0971 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #50 0x00007fbf338e0971 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #51 0x00007fbf338e0971 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #52 0x00007fbf338e0971 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&) (.lto_priv.0) /usr/include/c++/12/bits/std_function.h:290:0 #53 0x00007fbf338b410d applyOnRange /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:345:0 #54 0x00007fbf338b410d (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 #55 0x00007fbf338a05ae llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #56 0x00007fbf338a05ae llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #57 0x00007fbf338a05ae (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:62 #58 0x00007fbf3362561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #59 0x00007fbf3362561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x00007fbf3362561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #61 0x00007fbf3362561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #62 0x00007fbf3362561d 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:26 #63 0x00007fbf3367ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #64 0x00007fbf3367ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #65 0x00007fbf3367ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #66 0x00007fbf3367ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #67 0x00007fbf3367ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #68 0x00007fbf3367ecbc 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:0 #69 0x00007fbf3367f767 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:0 #70 0x00007fbf3369c6f1 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 #71 0x00007fbf3369c6f1 clang::ento::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 #72 0x00007fbf3369dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x00007fbf3369df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x00007fbf3363fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x00007fbf3365109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x00007fbf3365109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x00007fbf3394c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x00007fbf3394c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x00007fbf3394c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x00007fbf3394c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x00007fbf3394c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x00007fbf3394e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x00007fbf3394e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x00007fbf3394e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x00007fbf33951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x00007fbf33951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x00007fbf33951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x00007fbf33951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x00007fbf33951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x00007fbf31d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x00007fbf31d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x00007fbf31d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x00007fbf31d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x00007fbf33444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x00007fbf333f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x00007fbf333f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x00007fbf333f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x00007fbf334948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000055cbd86dca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000055cbd86e070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000055cbd86e2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000055cbd86d6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x00007fbf2a03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #104 0x00007fbf2a03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #105 0x000055cbd86d6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-inlined.c.script: line 5: 558553 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-eof.c (1140 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-eof.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc6dcbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc6dcbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc6dcbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc6dbc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc6e5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc6e5635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc6e5635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc6e5635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc6e5635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc6e5635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc6e5635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc6e5635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc6e52d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc6e52d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc6e52d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc6e52d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc6e52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc6e52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc6e52d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc6e52d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc6e52d5f52 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 #21 0x00007fc6e52d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc6e52d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc6e52d5f52 (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:34 #24 0x00007fc6e52d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc6e52d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc6e52d6a41 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 #27 0x00007fc6e52b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc6e52b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc6e52b415f 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 #30 0x00007fc6e523e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc6e523e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc6e523e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007fc6e523e340 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:0 #34 0x00007fc6e523e674 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x00007fc6e523e674 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007fc6e523e674 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:0 #37 0x00007fc6e54e0971 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x00007fc6e54e0971 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x00007fc6e54e0971 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x00007fc6e54e0971 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&) (.lto_priv.0) /usr/include/c++/12/bits/std_function.h:290:0 #41 0x00007fc6e54b3a6f (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 #42 0x00007fc6e54b410d applyOnRange /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:345:0 #43 0x00007fc6e54b410d (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 #44 0x00007fc6e54a05ae llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #45 0x00007fc6e54a05ae llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #46 0x00007fc6e54a05ae (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:62 #47 0x00007fc6e522561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #48 0x00007fc6e522561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x00007fc6e522561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #50 0x00007fc6e522561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #51 0x00007fc6e522561d 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:26 #52 0x00007fc6e527ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #53 0x00007fc6e527ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #54 0x00007fc6e527ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #55 0x00007fc6e527ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #56 0x00007fc6e527ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #57 0x00007fc6e527ecbc 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:0 #58 0x00007fc6e527f767 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:0 #59 0x00007fc6e529c6f1 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 0x00007fc6e529c6f1 clang::ento::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 0x00007fc6e529dc4e clang::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 0x00007fc6e529df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc6e523fac2 clang::ento::CoreEngine::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 0x00007fc6e525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007fc6e525109a clang::ento::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 0x00007fc6e554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007fc6e554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007fc6e554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007fc6e554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007fc6e554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007fc6e554e0a7 llvm::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 0x00007fc6e554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007fc6e554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007fc6e5551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007fc6e5551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007fc6e5551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007fc6e5551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007fc6e5551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007fc6e390724a __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 0x00007fc6e390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007fc6e390724a void clang::finalize>, 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 0x00007fc6e390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007fc6e5044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007fc6e4ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007fc6e4ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007fc6e4ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007fc6e50948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x0000562e1eab3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000562e1eab770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000562e1eab9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000562e1eaad903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007fc6dbc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007fc6dbc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x0000562e1eaad945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-eof.c.script: line 5: 558551 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-arg-cstring-dependency.c (1141 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb7767d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb7767ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb7767d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb775854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb77f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb77f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb77f235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb77f235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb77f235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb77f235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb77f235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb77f235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb77eed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb77eed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb77eed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb77eed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb77eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb77eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb77eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb77eed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb77eed4e65 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 #21 0x00007fb77eed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb77eed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb77eed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb77eeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb77eeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb77eeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb77eed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb77eed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb77eed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb77eee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb77eee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb77eee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb77eee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb77eee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb77eee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb77eee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb77eee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb77eee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb77ee3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb77ee3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb77ee3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb77ee3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb77f39250c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb77f39250c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb77f39250c 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 #46 0x00007fb77f39250c (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 #47 0x00007fb77f3925d6 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x00007fb77f3925d6 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:25 #49 0x00007fb77f3925d6 (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 #50 0x00007fb77ef20551 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x00007fb77ef20551 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x00007fb77ef20551 (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:0 #53 0x00007fb77ef0e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x00007fb77ef0e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #55 0x00007fb77ef0e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #56 0x00007fb77ef0e6c9 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:0 #57 0x00007fb77ee3cd48 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 0x00007fb77ee7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007fb77ee7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007fb77ee7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007fb77ee7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007fb77ee7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007fb77ee7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #64 0x00007fb77ee7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #65 0x00007fb77ee7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #66 0x00007fb77ee7eb8e 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:695:0 #67 0x00007fb77ee7f767 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:0 #68 0x00007fb77ee9c6f1 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 #69 0x00007fb77ee9c6f1 clang::ento::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 #70 0x00007fb77ee9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x00007fb77ee9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x00007fb77ee3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x00007fb77ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x00007fb77ee5109a clang::ento::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 0x00007fb77f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x00007fb77f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x00007fb77f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x00007fb77f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x00007fb77f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x00007fb77f14e0a7 llvm::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 0x00007fb77f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x00007fb77f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x00007fb77f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x00007fb77f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x00007fb77f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x00007fb77f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x00007fb77f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x00007fb77d50724a __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 0x00007fb77d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x00007fb77d50724a void clang::finalize>, 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 0x00007fb77d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x00007fb77ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x00007fb77ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x00007fb77ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x00007fb77ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x00007fb77ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x0000565399114a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x000056539911870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x000056539911a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x000056539910e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x00007fb77583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007fb77583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000056539910e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-cstring-dependency.c.script: line 1: 558533 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-path-notes.c (1142 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1260bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1260bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1260bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f125fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1269635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1269635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1269635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1269635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1269635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1269635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1269635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1269635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f12692d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f12692d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f12692d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f12692d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f12692d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f12692d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f12692d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f12692d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f12692d4e65 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 #21 0x00007f12692d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f12692d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f12692d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f12692b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f12692b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f12692b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f12692d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f12692d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f12692d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f12692e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f12692e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f12692e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f12692e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f12692e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f12692e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f12692e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f12692e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f12692e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f126923da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f126923da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f126923da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f126923da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f126923df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f126923df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f126923df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f12694acf85 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f12694acf85 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f12694acf85 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 #49 0x00007f12694acf85 (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:0 #50 0x00007f12694a3c4a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x00007f12694a3c4a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x00007f12694a3c4a (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #53 0x00007f126922561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x00007f126922561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x00007f126922561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x00007f126922561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x00007f126922561d 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:26 #58 0x00007f126927eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #59 0x00007f126927eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #60 0x00007f126927eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #61 0x00007f126927eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #62 0x00007f126927eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #63 0x00007f126927eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #64 0x00007f126927eac9 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:0 #65 0x00007f126927f767 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:0 #66 0x00007f126929c6f1 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 0x00007f126929c6f1 clang::ento::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 0x00007f126929dc4e clang::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 0x00007f126929df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f126923fac2 clang::ento::CoreEngine::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 0x00007f126925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #72 0x00007f126925109a clang::ento::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 0x00007f126954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #74 0x00007f126954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #75 0x00007f126954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #76 0x00007f126954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #77 0x00007f126954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #78 0x00007f126954e0a7 llvm::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 0x00007f126954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x00007f126954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #81 0x00007f1269551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x00007f1269551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x00007f1269551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x00007f1269551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x00007f1269551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x00007f126790724a __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 0x00007f126790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x00007f126790724a void clang::finalize>, 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 0x00007f126790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x00007f1269044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #91 0x00007f1268ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #92 0x00007f1268ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #93 0x00007f1268ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #94 0x00007f12690948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #95 0x00005650b3649a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x00005650b364d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x00005650b364f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x00005650b3643903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x00007f125fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #100 0x00007f125fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #101 0x00005650b3643945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-path-notes.c.script: line 1: 558569 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-vs-stream-checker.c (1143 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc6a37d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc6a37ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc6a37d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc6a2854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc6ac235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc6ac235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc6ac235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc6ac235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc6ac235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc6ac235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc6ac235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc6ac235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc6abed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc6abed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc6abed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc6abed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc6abed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc6abed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc6abed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc6abed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc6abed4e65 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 #21 0x00007fc6abed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc6abed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc6abed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc6abeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc6abeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc6abeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fc6abed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc6abed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc6abed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fc6abee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc6abee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc6abee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc6abee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc6abee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc6abee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc6abee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc6abee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc6abee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc6abe3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc6abe3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc6abe3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc6abe3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc6ac0e72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007fc6ac0e72a0 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:0 #45 0x00007fc6ac0e72a0 (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 #46 0x00007fc6ac0e4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007fc6ac0e4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007fc6ac0e4e9f 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:0 #49 0x00007fc6abe3cd48 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 #50 0x00007fc6abe7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007fc6abe7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007fc6abe7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007fc6abe7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007fc6abe7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007fc6abe7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007fc6abe7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007fc6abe7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007fc6abe7eb8e 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:695:0 #59 0x00007fc6abe7f767 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:0 #60 0x00007fc6abe9c6f1 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 0x00007fc6abe9c6f1 clang::ento::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 0x00007fc6abe9dc4e clang::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 0x00007fc6abe9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc6abe3fac2 clang::ento::CoreEngine::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 0x00007fc6abe5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007fc6abe5109a clang::ento::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 0x00007fc6ac14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007fc6ac14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007fc6ac14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007fc6ac14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007fc6ac14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007fc6ac14e0a7 llvm::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 0x00007fc6ac14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007fc6ac14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007fc6ac151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007fc6ac151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007fc6ac151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007fc6ac151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007fc6ac151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007fc6aa50724a __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 0x00007fc6aa50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007fc6aa50724a void clang::finalize>, 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 0x00007fc6aa50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007fc6abc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007fc6abbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007fc6abbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007fc6abbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007fc6abc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x0000559c1cd4ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000559c1cd4f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000559c1cd51440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000559c1cd45903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007fc6a283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007fc6a283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x0000559c1cd45945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-vs-stream-checker.c.script: line 3: 558582 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-functions.c (1144 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f97af9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f97af9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f97af9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f97aea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f97b8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f97b8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f97b8435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f97b8435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f97b8435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f97b8435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f97b8435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f97b8435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f97b80d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f97b80d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f97b80d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f97b80d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f97b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f97b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f97b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f97b80d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f97b80d4e65 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 #21 0x00007f97b80d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f97b80d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f97b80d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f97b80b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f97b80b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f97b80b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f97b80d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f97b80d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f97b80d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f97b80e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f97b80e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f97b80e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f97b80e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f97b80e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f97b80e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f97b80e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f97b80e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f97b80e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f97b803da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f97b803da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f97b803da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f97b803da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f97b803df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f97b803df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f97b803df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f97b82acf85 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f97b82acf85 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f97b82acf85 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 #49 0x00007f97b82acf85 (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:0 #50 0x00007f97b82a05ae llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #51 0x00007f97b82a05ae llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #52 0x00007f97b82a05ae (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:62 #53 0x00007f97b802561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x00007f97b802561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x00007f97b802561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x00007f97b802561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x00007f97b802561d 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:26 #58 0x00007f97b807ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007f97b807ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007f97b807ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007f97b807ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007f97b807ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007f97b807ecbc 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:0 #64 0x00007f97b807f767 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:0 #65 0x00007f97b809c6f1 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 0x00007f97b809c6f1 clang::ento::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 0x00007f97b809dc4e clang::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 0x00007f97b809df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f97b803fac2 clang::ento::CoreEngine::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 0x00007f97b805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #71 0x00007f97b805109a clang::ento::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 0x00007f97b834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #73 0x00007f97b834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #74 0x00007f97b834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #75 0x00007f97b834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #76 0x00007f97b834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #77 0x00007f97b834e0a7 llvm::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 0x00007f97b834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x00007f97b834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #80 0x00007f97b8351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x00007f97b8351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x00007f97b8351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x00007f97b8351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x00007f97b8351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x00007f97b670724a __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 0x00007f97b670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x00007f97b670724a void clang::finalize>, 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 0x00007f97b670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x00007f97b7e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #90 0x00007f97b7df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #91 0x00007f97b7df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #92 0x00007f97b7df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #93 0x00007f97b7e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #94 0x000055985adfba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x000055985adff70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x000055985ae01440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x000055985adf5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x00007f97aea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #99 0x00007f97aea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #100 0x000055985adf5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.c.script: line 5: 558601 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1145 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbec85d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbec85ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbec85d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbec7654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbed1035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbed1035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbed1035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbed1035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbed1035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbed1035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbed1035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbed1035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbed0cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbed0cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbed0cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbed0cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbed0cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbed0cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbed0cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbed0cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbed0cd4c2b 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 #21 0x00007fbed0cd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbed0cd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbed0cd4c2b (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:31 #24 0x00007fbed0cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbed0cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbed0cd6cdb 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 #27 0x00007fbed0cd64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbed0cd64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbed0cd64ad 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 #30 0x00007fbed0ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbed0ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbed0ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbed0ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbed0ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbed0ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbed0ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbed0ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbed0ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbed0c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbed0c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbed0c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbed0c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbed118e15d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fbed118e15d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fbed118e15d 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 #46 0x00007fbed118e15d 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 #47 0x00007fbed0d88a58 llvm::StringRef::StringRef(char const*) /usr/include/llvm/ADT/StringRef.h:85:33 #48 0x00007fbed0d88a58 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x00007fbed0d88a58 (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 #50 0x00007fbed0daaac1 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:10 #51 0x00007fbed0daaac1 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:48 #52 0x00007fbed0c3cd48 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 #53 0x00007fbed0c7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x00007fbed0c7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x00007fbed0c7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x00007fbed0c7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x00007fbed0c7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x00007fbed0c7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x00007fbed0c7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x00007fbed0c7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x00007fbed0c7eb8e 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:695:0 #62 0x00007fbed0c7f767 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:0 #63 0x00007fbed0c9c6f1 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 0x00007fbed0c9c6f1 clang::ento::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 0x00007fbed0c9dc4e clang::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 0x00007fbed0c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fbed0c3fac2 clang::ento::CoreEngine::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 0x00007fbed0c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x00007fbed0c5109a clang::ento::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 0x00007fbed0f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x00007fbed0f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x00007fbed0f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x00007fbed0f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x00007fbed0f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x00007fbed0f4e0a7 llvm::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 0x00007fbed0f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x00007fbed0f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x00007fbed0f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x00007fbed0f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x00007fbed0f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x00007fbed0f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x00007fbed0f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x00007fbecf30724a __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 0x00007fbecf30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x00007fbecf30724a void clang::finalize>, 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 0x00007fbecf30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x00007fbed0a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x00007fbed09f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x00007fbed09f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x00007fbed09f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x00007fbed0a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x0000555f9d224a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000555f9d22870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000555f9d22a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000555f9d21e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x00007fbec763ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #97 0x00007fbec763f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #98 0x0000555f9d21e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.cpp.script: line 1: 558610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stream-errno-note.c (1146 of 19712) ******************** TEST 'Clang :: Analysis/stream-errno-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0c87dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0c87dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0c87dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0c86e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0c904e0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f0c904e0599 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 0x00007f0c904e0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f0c904e0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f0c904e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f0c904e0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f0c904e0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f0c904e0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f0c904e0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f0c904e0599 (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 0x00007f0c904e0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f0c904e0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f0c904e0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f0c904e0c5d (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 #18 0x00007f0c904b84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f0c904b84a7 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:68 #20 0x00007f0c90597ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f0c90597ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f0c90597ac2 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:29 #23 0x00007f0c9059c95f 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 #24 0x00007f0c9059c95f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f0c9059c95f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0c9059c95f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:38 #27 0x00007f0c9059c95f 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:51 #28 0x00007f0c9041ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f0c9041ae16 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:26 #30 0x00007f0c904513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f0c904513ec 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:0 #32 0x00007f0c904513ec 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 #33 0x00007f0c9074c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f0c9074c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f0c9074c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f0c9074c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f0c9074c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f0c9074e0a7 llvm::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 0x00007f0c9074e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f0c9074e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f0c90751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f0c90751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f0c90751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f0c90751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f0c90751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f0c8eb0724a __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 0x00007f0c8eb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f0c8eb0724a void clang::finalize>, 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 0x00007f0c8eb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f0c90244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f0c901f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f0c901f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f0c901f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f0c902948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x0000556ab150aa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000556ab150e70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000556ab1510440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000556ab1504903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f0c86e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f0c86e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x0000556ab1504945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno-note.c.script: line 1: 558682 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/std-c-library-posix-crash.c (1147 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-posix-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0cbebd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0cbebceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0cbebd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0cbdc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0cc7635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0cc7635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0cc7635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0cc7635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0cc7635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0cc7635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0cc7635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0cc7635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0cc72d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0cc72d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0cc72d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0cc72d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0cc72d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0cc72d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0cc72d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0cc72d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0cc72d5f52 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 #21 0x00007f0cc72d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0cc72d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0cc72d5f52 (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:34 #24 0x00007f0cc72d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0cc72d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0cc72d6a41 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 #27 0x00007f0cc72b415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0cc72b415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0cc72b415f 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 #30 0x00007f0cc723e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0cc723e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0cc723e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f0cc723e340 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:0 #34 0x00007f0cc723e674 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x00007f0cc723e674 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007f0cc723e674 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:0 #37 0x00007f0cc74e0971 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x00007f0cc74e0971 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x00007f0cc74e0971 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x00007f0cc74e0971 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&) (.lto_priv.0) /usr/include/c++/12/bits/std_function.h:290:0 #41 0x00007f0cc74b3b4a (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 #42 0x00007f0cc74b410d applyOnRange /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:345:0 #43 0x00007f0cc74b410d (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 #44 0x00007f0cc74a3c4a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x00007f0cc74a3c4a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x00007f0cc74a3c4a (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #47 0x00007f0cc722561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #48 0x00007f0cc722561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x00007f0cc722561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #50 0x00007f0cc722561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #51 0x00007f0cc722561d 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:26 #52 0x00007f0cc727eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f0cc727eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f0cc727eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x00007f0cc727eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x00007f0cc727eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x00007f0cc727eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x00007f0cc727eac9 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:0 #59 0x00007f0cc727f767 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:0 #60 0x00007f0cc729c6f1 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 0x00007f0cc729c6f1 clang::ento::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 0x00007f0cc729dc4e clang::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 0x00007f0cc729df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f0cc723fac2 clang::ento::CoreEngine::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 0x00007f0cc725109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f0cc725109a clang::ento::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 0x00007f0cc754c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f0cc754c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f0cc754c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f0cc754c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f0cc754c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f0cc754e0a7 llvm::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 0x00007f0cc754e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f0cc754e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f0cc7551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f0cc7551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f0cc7551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f0cc7551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f0cc7551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f0cc590724a __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 0x00007f0cc590724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f0cc590724a void clang::finalize>, 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 0x00007f0cc590724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f0cc7044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f0cc6ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f0cc6ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f0cc6ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f0cc70948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x0000555789e6fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000555789e7370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000555789e75440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000555789e69903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f0cbdc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f0cbdc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x0000555789e69945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-posix-crash.c.script: line 1: 558623 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stream-errno.c (1148 of 19712) ******************** TEST 'Clang :: Analysis/stream-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f972d3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f972d3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f972d3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f972c454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9735ae0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f9735ae0599 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 0x00007f9735ae0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f9735ae0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f9735ae0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f9735ae0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f9735ae0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f9735ae0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f9735ae0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f9735ae0599 (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 0x00007f9735ae0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f9735ae0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f9735ae0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f9735ae0c5d (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 #18 0x00007f9735ab84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f9735ab84a7 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:68 #20 0x00007f9735b97ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f9735b97ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f9735b97ac2 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:29 #23 0x00007f9735b9c95f 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 #24 0x00007f9735b9c95f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f9735b9c95f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9735b9c95f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:38 #27 0x00007f9735b9c95f 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:51 #28 0x00007f9735a1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f9735a1ae16 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:26 #30 0x00007f9735a513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f9735a513ec 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:0 #32 0x00007f9735a513ec 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 #33 0x00007f9735d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f9735d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f9735d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f9735d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f9735d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f9735d4e0a7 llvm::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 0x00007f9735d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f9735d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f9735d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f9735d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f9735d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f9735d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f9735d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f973410724a __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 0x00007f973410724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f973410724a void clang::finalize>, 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 0x00007f973410724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f9735844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f97357f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f97357f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f97357f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f97358948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x00005650b304ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x00005650b305270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x00005650b3054440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x00005650b3048903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f972c43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f972c43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x00005650b3048945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno.c.script: line 1: 558698 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1149 of 19712) ******************** TEST 'Clang :: Analysis/stream-noopen.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f917e3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f917e3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f917e3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f917d454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9186ae0599 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x00007f9186ae0599 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 0x00007f9186ae0599 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x00007f9186ae0599 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x00007f9186ae0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x00007f9186ae0599 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x00007f9186ae0599 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x00007f9186ae0599 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x00007f9186ae0599 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x00007f9186ae0599 (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 0x00007f9186ae0c5d get /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #15 0x00007f9186ae0c5d asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #16 0x00007f9186ae0c5d asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #17 0x00007f9186ae0c5d (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 #18 0x00007f9186ab84a7 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #19 0x00007f9186ab84a7 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:68 #20 0x00007f9186b97ac2 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007f9186b97ac2 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007f9186b97ac2 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:29 #23 0x00007f9186b9c72f 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 #24 0x00007f9186b9c72f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #25 0x00007f9186b9c72f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9186b9c72f checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:38 #27 0x00007f9186b9c72f 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:51 #28 0x00007f9186a1ae16 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #29 0x00007f9186a1ae16 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:26 #30 0x00007f9186a513ec llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #31 0x00007f9186a513ec 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:0 #32 0x00007f9186a513ec 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 #33 0x00007f9186d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f9186d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f9186d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x00007f9186d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x00007f9186d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x00007f9186d4e0a7 llvm::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 0x00007f9186d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x00007f9186d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x00007f9186d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x00007f9186d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x00007f9186d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x00007f9186d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x00007f9186d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x00007f918510724a __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 0x00007f918510724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x00007f918510724a void clang::finalize>, 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 0x00007f918510724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x00007f9186844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x00007f91867f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x00007f91867f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x00007f91867f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x00007f91868948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x0000560285684a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000056028568870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000056028568a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000056028567e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x00007f917d43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #60 0x00007f917d43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #61 0x000056028567e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-noopen.c.script: line 2: 558710 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/std-string.cpp (1150 of 19712) ******************** TEST 'Clang :: Analysis/std-string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8cc91d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8cc91ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8cc91d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8cc8254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8cd1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8cd1c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8cd1c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8cd1c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8cd1c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8cd1c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8cd1c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8cd1c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8cd18d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8cd18d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8cd18d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8cd18d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8cd18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8cd18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8cd18d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8cd18d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8cd18d4e65 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 #21 0x00007f8cd18d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8cd18d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8cd18d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8cd18b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8cd18b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8cd18b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8cd18d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8cd18d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8cd18d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8cd18e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8cd18e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8cd18e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8cd18e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8cd18e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8cd18e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8cd18e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8cd18e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8cd18e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8cd183da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8cd183da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8cd183da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8cd183da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8cd1d86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8cd1d86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8cd1d86b68 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 #46 0x00007f8cd1aed2ee llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007f8cd1aed2ee 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 #48 0x00007f8cd1aed2ee checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp:77:0 #49 0x00007f8cd1aed2ee 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 #50 0x00007f8cd182561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #51 0x00007f8cd182561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x00007f8cd182561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #53 0x00007f8cd182561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #54 0x00007f8cd182561d 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:26 #55 0x00007f8cd1899a44 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #56 0x00007f8cd1899a44 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #57 0x00007f8cd1899a44 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #58 0x00007f8cd1899a44 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #59 0x00007f8cd1899a44 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #60 0x00007f8cd1899a44 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #61 0x00007f8cd1899a44 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #62 0x00007f8cd1899a44 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #63 0x00007f8cd1899a44 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 #64 0x00007f8cd189c69e 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 #65 0x00007f8cd189c69e clang::ento::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 #66 0x00007f8cd189dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007f8cd189df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007f8cd183fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007f8cd185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007f8cd185109a clang::ento::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 0x00007f8cd1b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007f8cd1b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007f8cd1b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007f8cd1b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007f8cd1b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007f8cd1b4e0a7 llvm::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 0x00007f8cd1b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007f8cd1b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007f8cd1b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007f8cd1b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007f8cd1b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007f8cd1b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007f8cd1b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007f8ccff0724a __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 0x00007f8ccff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007f8ccff0724a void clang::finalize>, 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 0x00007f8ccff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007f8cd1644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007f8cd15f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007f8cd15f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007f8cd15f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007f8cd16948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000561e4e2dfa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000561e4e2e370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000561e4e2e5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000561e4e2d9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007f8cc823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007f8cc823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000561e4e2d9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-string.cpp.script: line 1: 558647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stl-algorithm-modeling.cpp (1151 of 19712) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fed88dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fed88dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fed88dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fed87e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fed914c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007fed914c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fed914c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fed914c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fed914c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fed914c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fed914c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007fed914c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007fed914c6be6 (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 0x00007fed914c7048 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 #14 0x00007fed914c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007fed914c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007fed914c7048 (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 #17 0x00007fed914ecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007fed914ecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007fed914ecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007fed914ecee7 (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 #21 0x00007fed914eca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007fed914eca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007fed914eca64 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 #24 0x00007fed9193bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007fed9193bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007fed9193bf33 (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 #27 0x00007fed914b4298 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 #28 0x00007fed914b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007fed914b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007fed914b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007fed914b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007fed914b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007fed914b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007fed914b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007fed914d62c8 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 #36 0x00007fed914d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007fed914d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007fed914d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007fed914d63a7 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 #40 0x00007fed914d63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007fed914d63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007fed914d63a7 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 #43 0x00007fed914e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fed914e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fed914e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007fed914e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007fed914e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007fed914e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007fed914e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007fed914e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007fed914e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007fed9143da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007fed9143da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007fed9143da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007fed9143da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007fed9143df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fed9143df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fed9143df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007fed9140953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fed9140953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fed9140953e 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 #62 0x00007fed91594b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007fed91594b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007fed91594b85 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:42 #65 0x00007fed91558181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007fed91558181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007fed91558181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007fed91558181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007fed91558181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007fed91558181 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:46 #71 0x00007fed9142561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007fed9142561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007fed9142561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007fed9142561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007fed9142561d 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:26 #76 0x00007fed9147ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007fed9147ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007fed9147ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007fed9147ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007fed9147ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007fed9147ecbc 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:0 #82 0x00007fed9147f767 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:0 #83 0x00007fed9149c6f1 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 #84 0x00007fed9149c6f1 clang::ento::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 #85 0x00007fed9149dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007fed9149df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007fed9143fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007fed9145109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007fed9145109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007fed9174c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007fed9174c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007fed9174c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007fed9174c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007fed9174c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007fed9174e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007fed9174e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007fed9174e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007fed91751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007fed91751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007fed91751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007fed91751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007fed91751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007fed8fb0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007fed8fb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007fed8fb0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007fed8fb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007fed91244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007fed911f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007fed911f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007fed911f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007fed912948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x000055a0e7f21a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x000055a0e7f2570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x000055a0e7f27440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x000055a0e7f1b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007fed87e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007fed87e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x000055a0e7f1b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling.cpp.script: line 1: 558664 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stl-algorithm-modeling-aggressive-std-find-modeling.cpp (1152 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1e9f1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1e9f1ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1e9f1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1e9e254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1ea78c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f1ea78c6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1ea78c6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1ea78c6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f1ea78c6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f1ea78c6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f1ea78c6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f1ea78c6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f1ea78c6be6 (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 0x00007f1ea78c7048 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 #14 0x00007f1ea78c7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f1ea78c7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f1ea78c7048 (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 #17 0x00007f1ea78ecee7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f1ea78ecee7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f1ea78ecee7 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #20 0x00007f1ea78ecee7 (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 #21 0x00007f1ea78eca64 clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #22 0x00007f1ea78eca64 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #23 0x00007f1ea78eca64 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 #24 0x00007f1ea7d3bf33 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #25 0x00007f1ea7d3bf33 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #26 0x00007f1ea7d3bf33 (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 #27 0x00007f1ea78b4298 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 #28 0x00007f1ea78b4298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #29 0x00007f1ea78b4298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x00007f1ea78b4298 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #31 0x00007f1ea78b4298 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #32 0x00007f1ea78b3f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x00007f1ea78b3f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x00007f1ea78b3f20 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #35 0x00007f1ea78d62c8 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 #36 0x00007f1ea78d62c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #37 0x00007f1ea78d62c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x00007f1ea78d62c8 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #39 0x00007f1ea78d63a7 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 #40 0x00007f1ea78d63a7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #41 0x00007f1ea78d63a7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f1ea78d63a7 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 #43 0x00007f1ea78e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f1ea78e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f1ea78e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #46 0x00007f1ea78e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x00007f1ea78e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x00007f1ea78e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #49 0x00007f1ea78e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x00007f1ea78e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007f1ea78e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #52 0x00007f1ea783da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #53 0x00007f1ea783da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #54 0x00007f1ea783da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #55 0x00007f1ea783da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #56 0x00007f1ea783df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f1ea783df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f1ea783df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #59 0x00007f1ea780953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1ea780953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1ea780953e 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 #62 0x00007f1ea7994b85 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #63 0x00007f1ea7994b85 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #64 0x00007f1ea7994b85 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:42 #65 0x00007f1ea7958181 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #66 0x00007f1ea7958181 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #67 0x00007f1ea7958181 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:41 #68 0x00007f1ea7958181 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #69 0x00007f1ea7958181 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #70 0x00007f1ea7958181 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:46 #71 0x00007f1ea782561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #72 0x00007f1ea782561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x00007f1ea782561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #74 0x00007f1ea782561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #75 0x00007f1ea782561d 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:26 #76 0x00007f1ea787ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #77 0x00007f1ea787ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #78 0x00007f1ea787ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #79 0x00007f1ea787ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #80 0x00007f1ea787ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #81 0x00007f1ea787ecbc 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:0 #82 0x00007f1ea787f767 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:0 #83 0x00007f1ea789c6f1 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 #84 0x00007f1ea789c6f1 clang::ento::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 #85 0x00007f1ea789dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #86 0x00007f1ea789df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #87 0x00007f1ea783fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #88 0x00007f1ea785109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #89 0x00007f1ea785109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #90 0x00007f1ea7b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #91 0x00007f1ea7b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #92 0x00007f1ea7b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #93 0x00007f1ea7b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #94 0x00007f1ea7b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #95 0x00007f1ea7b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #96 0x00007f1ea7b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #97 0x00007f1ea7b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #98 0x00007f1ea7b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #99 0x00007f1ea7b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #100 0x00007f1ea7b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #101 0x00007f1ea7b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #102 0x00007f1ea7b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #103 0x00007f1ea5f0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #104 0x00007f1ea5f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #105 0x00007f1ea5f0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #106 0x00007f1ea5f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #107 0x00007f1ea7644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #108 0x00007f1ea75f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #109 0x00007f1ea75f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #110 0x00007f1ea75f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #111 0x00007f1ea76948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #112 0x0000555f5098da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #113 0x0000555f5099170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #114 0x0000555f50993440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #115 0x0000555f50987903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #116 0x00007f1e9e23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #117 0x00007f1e9e23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #118 0x0000555f50987945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling-aggressive-std-find-modeling.cpp.script: line 1: 558662 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/scan-build/exclude_directories.test (1153 of 19712) ******************** TEST 'Clang :: Analysis/scan-build/exclude_directories.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple x86_64-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=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-OpenCloudOS-linux/12/../../../../x86_64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-07-10-211013-558090-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 0x00007f8f349d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8f349ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8f349d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8f33a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8f3d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8f3d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8f3d435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8f3d435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8f3d435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8f3d435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8f3d435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8f3d435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8f3d0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8f3d0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8f3d0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8f3d0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8f3d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8f3d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8f3d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8f3d0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8f3d0d4e65 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 #21 0x00007f8f3d0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8f3d0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8f3d0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f8f3d0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8f3d0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8f3d0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f8f3d0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8f3d0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8f3d0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f8f3d0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8f3d0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8f3d0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f8f3d0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f8f3d0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f8f3d0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f8f3d0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f8f3d0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f8f3d0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f8f3d03da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f8f3d03da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f8f3d03da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f8f3d03da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f8f3d586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f8f3d586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f8f3d586b68 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 #46 0x00007f8f3d069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f8f3d069db3 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 #48 0x00007f8f3d069db3 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 #49 0x00007f8f3d09d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f8f3d09d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f8f3d09d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f8f3d09d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f8f3d09d93e clang::ento::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 #54 0x00007f8f3d09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f8f3d09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f8f3d03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f8f3d05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f8f3d05109a clang::ento::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 0x00007f8f3d34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f8f3d34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f8f3d34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f8f3d34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f8f3d34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f8f3d34e0a7 llvm::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 0x00007f8f3d34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f8f3d34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f8f3d351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f8f3d351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f8f3d351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f8f3d351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f8f3d351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f8f3b70724a __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 0x00007f8f3b70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f8f3b70724a void clang::finalize>, 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 0x00007f8f3b70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f8f3ce44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f8f3cdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f8f3cdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f8f3cdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f8f3ce948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000560ec5b59a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000560ec5b5d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000560ec5b5f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000560ec5b53903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f8f33a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f8f33a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000560ec5b53945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17+0xd945) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple x86_64-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=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-OpenCloudOS-linux/12/../../../../x86_64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-07-10-211013-558090-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 0x00007fb5af9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb5af9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb5af9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb5aea54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb5b8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb5b8435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb5b8435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb5b8435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb5b8435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb5b8435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb5b8435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb5b8435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb5b80d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb5b80d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb5b80d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb5b80d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb5b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb5b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb5b80d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb5b80d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb5b80d4e65 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 #21 0x00007fb5b80d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb5b80d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb5b80d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb5b80b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb5b80b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb5b80b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb5b80d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb5b80d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb5b80d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb5b80e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb5b80e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb5b80e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb5b80e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb5b80e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb5b80e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb5b80e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb5b80e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb5b80e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb5b803da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb5b803da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb5b803da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb5b803da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb5b8586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb5b8586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb5b8586b68 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 #46 0x00007fb5b8069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fb5b8069db3 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 #48 0x00007fb5b8069db3 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 #49 0x00007fb5b809d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fb5b809d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fb5b809d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fb5b809d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fb5b809d93e clang::ento::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 #54 0x00007fb5b809dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fb5b809df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fb5b803fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fb5b805109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb5b805109a clang::ento::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 0x00007fb5b834c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb5b834c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb5b834c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb5b834c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb5b834c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb5b834e0a7 llvm::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 0x00007fb5b834e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb5b834e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb5b8351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb5b8351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb5b8351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb5b8351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb5b8351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb5b670724a __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 0x00007fb5b670724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb5b670724a void clang::finalize>, 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 0x00007fb5b670724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb5b7e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb5b7df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb5b7df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb5b7df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb5b7e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000555ee5516a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000555ee551a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000555ee551c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000555ee5510903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fb5aea3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fb5aea3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000555ee5510945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-17+0xd945) $ "/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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-07-10-211013-558090-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/structured_bindings.cpp (1154 of 19712) ******************** TEST 'Clang :: Analysis/structured_bindings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7c3bbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7c3bbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7c3bbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7c3ac54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7c4426f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f7c4426f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f7c4426f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f7c4426f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f7c4426f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f7c4426f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f7c4426f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f7c4426f83e 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 0x00007f7c442725b9 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 0x00007f7c442725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f7c442725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f7c442725b9 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 #16 0x00007f7c442727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f7c442727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f7c442727ab 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 #19 0x00007f7c44299d0e 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 #20 0x00007f7c4429c69e 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 #21 0x00007f7c4429c69e clang::ento::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 #22 0x00007f7c4429dc4e clang::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 0x00007f7c4429df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7c4423fac2 clang::ento::CoreEngine::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 0x00007f7c4425109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f7c4425109a clang::ento::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 0x00007f7c4454c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f7c4454c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f7c4454c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f7c4454c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f7c4454c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f7c4454e0a7 llvm::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 0x00007f7c4454e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f7c4454e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f7c44551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f7c44551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f7c44551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f7c44551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f7c44551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f7c4290724a __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 0x00007f7c4290724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f7c4290724a void clang::finalize>, 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 0x00007f7c4290724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f7c44044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f7c43ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f7c43ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f7c43ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f7c440948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x000055e04603ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000055e04603f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x000055e046041440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000055e046035903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f7c3ac3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f7c3ac3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x000055e046035945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/structured_bindings.cpp.script: line 1: 558783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stream-error.c (1155 of 19712) ******************** TEST 'Clang :: Analysis/stream-error.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f90df3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f90df3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f90df3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f90de454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f90e7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f90e7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f90e7e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f90e7e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f90e7e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f90e7e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f90e7e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f90e7e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f90e7ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f90e7ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f90e7ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f90e7ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f90e7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f90e7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f90e7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f90e7ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f90e7ad4e65 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 #21 0x00007f90e7ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f90e7ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f90e7ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f90e7ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f90e7ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f90e7ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f90e7ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f90e7ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f90e7ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f90e7ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f90e7ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f90e7ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f90e7ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f90e7ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f90e7ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f90e7ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f90e7ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f90e7ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f90e7a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f90e7a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f90e7a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f90e7a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f90e7ce72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007f90e7ce72a0 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:0 #45 0x00007f90e7ce72a0 (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 #46 0x00007f90e7ce4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007f90e7ce4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007f90e7ce4e9f 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:0 #49 0x00007f90e7a3cd48 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 #50 0x00007f90e7a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007f90e7a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007f90e7a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007f90e7a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007f90e7a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007f90e7a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007f90e7a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007f90e7a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007f90e7a7eb8e 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:695:0 #59 0x00007f90e7a7f767 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:0 #60 0x00007f90e7a9c6f1 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 0x00007f90e7a9c6f1 clang::ento::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 0x00007f90e7a9dc4e clang::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 0x00007f90e7a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f90e7a3fac2 clang::ento::CoreEngine::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 0x00007f90e7a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f90e7a5109a clang::ento::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 0x00007f90e7d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f90e7d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f90e7d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f90e7d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f90e7d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f90e7d4e0a7 llvm::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 0x00007f90e7d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f90e7d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f90e7d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f90e7d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f90e7d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f90e7d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f90e7d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f90e610724a __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 0x00007f90e610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f90e610724a void clang::finalize>, 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 0x00007f90e610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f90e7844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f90e77f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f90e77f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f90e77f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f90e78948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000055756a7efa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000055756a7f370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000055756a7f5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000055756a7e9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f90de43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f90de43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x000055756a7e9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-error.c.script: line 1: 558700 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/string-with-signedness.c (1159 of 19712) ******************** TEST 'Clang :: Analysis/string-with-signedness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbda09d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbda09ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbda09d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbd9fa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbda911c666 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbda911c666 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbda911c666 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbda911c666 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbda911c666 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbda911c666 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 0x00007fbda911c666 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x00007fbda911c666 getCStringLengthForRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:853:0 #12 0x00007fbda911c666 (anonymous namespace)::CStringChecker::getCStringLength(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr&, clang::Expr const*, clang::ento::SVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:930:0 #13 0x00007fbda911da7b (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:0 #14 0x00007fbda9120367 (anonymous namespace)::CStringChecker::evalStrcpy(clang::ento::CheckerContext&, clang::CallExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1634:0 #15 0x00007fbda910e6c9 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #16 0x00007fbda910e6c9 ~function /usr/include/c++/12/bits/std_function.h:334:0 #17 0x00007fbda910e6c9 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:0 #18 0x00007fbda910e6c9 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:0 #19 0x00007fbda903cd48 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 #20 0x00007fbda907eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x00007fbda907eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x00007fbda907eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x00007fbda907eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x00007fbda907eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x00007fbda907eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x00007fbda907eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x00007fbda907eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x00007fbda907eb8e 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:695:0 #29 0x00007fbda907f767 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:0 #30 0x00007fbda909c6f1 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 0x00007fbda909c6f1 clang::ento::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 #32 0x00007fbda909dc4e clang::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 0x00007fbda909df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fbda903fac2 clang::ento::CoreEngine::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 0x00007fbda905109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x00007fbda905109a clang::ento::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 0x00007fbda934c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x00007fbda934c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x00007fbda934c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x00007fbda934c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x00007fbda934c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x00007fbda934e0a7 llvm::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 0x00007fbda934e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x00007fbda934e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x00007fbda9351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x00007fbda9351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x00007fbda9351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x00007fbda9351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x00007fbda9351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x00007fbda770724a __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 0x00007fbda770724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x00007fbda770724a void clang::finalize>, 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 0x00007fbda770724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x00007fbda8e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x00007fbda8df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x00007fbda8df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x00007fbda8df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x00007fbda8e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000055b778c62a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000055b778c6670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000055b778c68440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000055b778c5c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x00007fbd9fa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #64 0x00007fbd9fa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #65 0x000055b778c5c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/string-with-signedness.c.script: line 1: 558759 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (1160 of 19712) ******************** TEST 'Clang :: Analysis/string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f06d27d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f06d27ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f06d27d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f06d1854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f06db235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f06db235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f06db235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f06db235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f06db235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f06db235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f06db235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f06db235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f06daed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f06daed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f06daed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f06daed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f06daed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f06daed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f06daed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f06daed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f06daed4e65 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 #21 0x00007f06daed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f06daed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f06daed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f06daeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f06daeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f06daeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f06daed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f06daed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f06daed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f06daee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f06daee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f06daee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f06daee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f06daee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f06daee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f06daee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f06daee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f06daee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f06dae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f06dae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f06dae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f06dae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f06dae3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f06dae3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f06dae3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f06dae0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f06dae0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f06dae0953e 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 #49 0x00007f06dae50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f06dae50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f06dae50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f06dae5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f06dae5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f06dae5149e 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 #55 0x00007f06db14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f06db14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f06db14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f06db14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f06db14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f06db14e0a7 llvm::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 0x00007f06db14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f06db14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f06db151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f06db151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f06db151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f06db151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f06db151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f06d950724a __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 0x00007f06d950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f06d950724a void clang::finalize>, 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 0x00007f06d950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f06dac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f06dabf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f06dabf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f06dabf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f06dac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000561750c25a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000561750c2970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000561750c2b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000561750c1f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f06d183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f06d183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000561750c1f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.cpp.script: line 1: 558772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/string.c (1161 of 19712) ******************** TEST 'Clang :: Analysis/string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff034bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff034bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff034bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff033c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff03d73c107 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff03d73c107 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff03d73c107 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff03d73c107 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff03d73c107 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff03d73c107 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 0x00007ff03d73c107 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff03d73c107 (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 0x00007ff03d30226f 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 0x00007ff03d30226f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007ff03d30226f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007ff03d30226f 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 0x00007ff03d2235ba llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007ff03d2235ba llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007ff03d2235ba 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:12 #19 0x00007ff03d2235ba clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #20 0x00007ff03d26f0a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x00007ff03d26f0a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x00007ff03d26f0a4 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 0x00007ff03d29db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #24 0x00007ff03d29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x00007ff03d23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x00007ff03d25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x00007ff03d25109a clang::ento::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 0x00007ff03d54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x00007ff03d54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x00007ff03d54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x00007ff03d54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x00007ff03d54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x00007ff03d54e0a7 llvm::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 0x00007ff03d54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x00007ff03d54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x00007ff03d551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x00007ff03d551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x00007ff03d551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x00007ff03d551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x00007ff03d551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x00007ff03b90724a __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 0x00007ff03b90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x00007ff03b90724a void clang::finalize>, 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 0x00007ff03b90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x00007ff03d044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x00007ff03cff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x00007ff03cff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x00007ff03cff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x00007ff03d0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x0000555c378cba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000555c378cf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000555c378d1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000555c378c5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x00007ff033c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #55 0x00007ff033c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #56 0x0000555c378c5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.c.script: line 5: 558765 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stream-note.c (1162 of 19712) ******************** TEST 'Clang :: Analysis/stream-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f52f8fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f52f8fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f52f8fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f52f8054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5301a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5301a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5301a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5301a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5301a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5301a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5301a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5301a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f53016d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f53016d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f53016d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f53016d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f53016d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f53016d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f53016d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f53016d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f53016d4e65 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 #21 0x00007f53016d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f53016d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f53016d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f53016b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f53016b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f53016b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f53016d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f53016d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f53016d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f53016e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f53016e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f53016e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f53016e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f53016e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f53016e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f53016e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f53016e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f53016e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f530163da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f530163da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f530163da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f530163da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f53018e72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007f53018e72a0 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:0 #45 0x00007f53018e72a0 (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 #46 0x00007f53018e4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007f53018e4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007f53018e4e9f 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:0 #49 0x00007f530163cd48 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 #50 0x00007f530167eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007f530167eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007f530167eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007f530167eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007f530167eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007f530167eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007f530167eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007f530167eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007f530167eb8e 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:695:0 #59 0x00007f530167f767 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:0 #60 0x00007f530169c6f1 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 0x00007f530169c6f1 clang::ento::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 0x00007f530169dc4e clang::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 0x00007f530169df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f530163fac2 clang::ento::CoreEngine::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 0x00007f530165109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007f530165109a clang::ento::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 0x00007f530194c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007f530194c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007f530194c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007f530194c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007f530194c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007f530194e0a7 llvm::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 0x00007f530194e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007f530194e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007f5301951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007f5301951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007f5301951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007f5301951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007f5301951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007f52ffd0724a __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 0x00007f52ffd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007f52ffd0724a void clang::finalize>, 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 0x00007f52ffd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007f5301444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007f53013f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007f53013f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007f53013f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007f53014948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x0000562d68e1ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000562d68e2270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000562d68e24440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000562d68e18903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007f52f803ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007f52f803f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x0000562d68e18945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-note.c.script: line 2: 558716 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.cpp (1164 of 19712) ******************** TEST 'Clang :: Analysis/stream.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fbe9f3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fbe9f3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fbe9f3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fbe9e454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fbea7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fbea7e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fbea7e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fbea7e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fbea7e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fbea7e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fbea7e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fbea7e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fbea7ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fbea7ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fbea7ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fbea7ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fbea7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fbea7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fbea7ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fbea7ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fbea7ad4e65 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 #21 0x00007fbea7ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fbea7ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fbea7ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fbea7ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fbea7ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fbea7ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fbea7ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fbea7ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fbea7ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fbea7ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fbea7ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fbea7ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fbea7ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fbea7ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fbea7ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fbea7ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fbea7ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fbea7ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fbea7a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fbea7a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fbea7a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fbea7a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fbea7ce72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007fbea7ce72a0 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:0 #45 0x00007fbea7ce72a0 (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 #46 0x00007fbea7ce4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007fbea7ce4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007fbea7ce4e9f 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:0 #49 0x00007fbea7a3cd48 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 #50 0x00007fbea7a7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007fbea7a7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007fbea7a7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007fbea7a7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007fbea7a7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007fbea7a7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007fbea7a7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007fbea7a7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007fbea7a7eb8e 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:695:0 #59 0x00007fbea7a7f767 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:0 #60 0x00007fbea7a9c6f1 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 0x00007fbea7a9c6f1 clang::ento::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 0x00007fbea7a9dc4e clang::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 0x00007fbea7a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fbea7a3fac2 clang::ento::CoreEngine::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 0x00007fbea7a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007fbea7a5109a clang::ento::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 0x00007fbea7d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007fbea7d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007fbea7d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007fbea7d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007fbea7d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007fbea7d4e0a7 llvm::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 0x00007fbea7d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007fbea7d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007fbea7d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007fbea7d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007fbea7d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007fbea7d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007fbea7d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007fbea610724a __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 0x00007fbea610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007fbea610724a void clang::finalize>, 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 0x00007fbea610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007fbea7844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007fbea77f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007fbea77f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007fbea77f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007fbea78948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x0000558f59d5fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000558f59d6370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000558f59d65440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000558f59d59903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007fbe9e43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007fbe9e43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x0000558f59d59945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.cpp.script: line 1: 558745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/svalbuilder-float-cast.c (1166 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-float-cast.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007efd4d9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efd4d9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007efd4d9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efd4ca54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efd561a33ea llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007efd561a33ea llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007efd561a33ea llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007efd561a33ea llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007efd561a33ea llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007efd561a33ea 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 0x00007efd561a33ea get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007efd561a33ea (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:44 #12 0x00007efd5601bfa7 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 0x00007efd5606f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007efd5606f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007efd5606f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007efd5606f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007efd5606f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007efd5606f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007efd5606f23c 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 0x00007efd5609db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007efd5609df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007efd5603fac2 clang::ento::CoreEngine::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 0x00007efd5605109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007efd5605109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007efd5634c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007efd5634c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007efd5634c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007efd5634c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007efd5634c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007efd5634e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007efd5634e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007efd5634e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007efd56351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007efd56351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007efd56351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007efd56351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007efd56351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007efd5470724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007efd5470724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007efd5470724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007efd5470724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007efd55e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007efd55df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007efd55df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007efd55df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007efd55e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000560998582a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000056099858670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000560998588440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000056099857c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007efd4ca3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007efd4ca3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000056099857c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-float-cast.c.script: line 2: 558809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/stream-stdlibraryfunctionargs.c (1167 of 19712) ******************** TEST 'Clang :: Analysis/stream-stdlibraryfunctionargs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa5a61d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa5a61ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa5a61d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa5a5254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa5aec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa5aec35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa5aec35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa5aec35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa5aec35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa5aec35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa5aec35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa5aec35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa5ae8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa5ae8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa5ae8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa5ae8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa5ae8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa5ae8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa5ae8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa5ae8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa5ae8d4e65 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 #21 0x00007fa5ae8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa5ae8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa5ae8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa5ae8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa5ae8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa5ae8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa5ae8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa5ae8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa5ae8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa5ae8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa5ae8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa5ae8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa5ae8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa5ae8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa5ae8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa5ae8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa5ae8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa5ae8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa5ae83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa5ae83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa5ae83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa5ae83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa5aeae72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007fa5aeae72a0 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:0 #45 0x00007fa5aeae72a0 (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 #46 0x00007fa5aeae4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007fa5aeae4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007fa5aeae4e9f 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:0 #49 0x00007fa5ae83cd48 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 #50 0x00007fa5ae87eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007fa5ae87eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007fa5ae87eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007fa5ae87eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007fa5ae87eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007fa5ae87eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007fa5ae87eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007fa5ae87eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007fa5ae87eb8e 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:695:0 #59 0x00007fa5ae87f767 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:0 #60 0x00007fa5ae89c6f1 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 0x00007fa5ae89c6f1 clang::ento::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 0x00007fa5ae89dc4e clang::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 0x00007fa5ae89df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa5ae83fac2 clang::ento::CoreEngine::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 0x00007fa5ae85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007fa5ae85109a clang::ento::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 0x00007fa5aeb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007fa5aeb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007fa5aeb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007fa5aeb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007fa5aeb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007fa5aeb4e0a7 llvm::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 0x00007fa5aeb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007fa5aeb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007fa5aeb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007fa5aeb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007fa5aeb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007fa5aeb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007fa5aeb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007fa5acf0724a __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 0x00007fa5acf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007fa5acf0724a void clang::finalize>, 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 0x00007fa5acf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007fa5ae644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007fa5ae5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007fa5ae5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007fa5ae5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007fa5ae6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x00005606eeb61a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x00005606eeb6570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x00005606eeb67440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x00005606eeb5b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007fa5a523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007fa5a523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x00005606eeb5b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-stdlibraryfunctionargs.c.script: line 3: 558737 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1168 of 19712) ******************** TEST 'Clang :: Analysis/stream.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff3135d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff3135ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff3135d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff312654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff31c035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff31c035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff31c035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff31c035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff31c035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff31c035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff31c035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff31c035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff31bcd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff31bcd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff31bcd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff31bcd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff31bcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff31bcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff31bcd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff31bcd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff31bcd4e65 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 #21 0x00007ff31bcd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff31bcd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff31bcd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff31bcb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff31bcb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff31bcb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff31bcd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff31bcd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff31bcd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff31bce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff31bce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff31bce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff31bce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff31bce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff31bce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff31bce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff31bce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff31bce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff31bc3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff31bc3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff31bc3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff31bc3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff31bee72a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x00007ff31bee72a0 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:0 #45 0x00007ff31bee72a0 (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 #46 0x00007ff31bee4e9f clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:0 #47 0x00007ff31bee4e9f evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:0 #48 0x00007ff31bee4e9f 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:0 #49 0x00007ff31bc3cd48 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 #50 0x00007ff31bc7eb8e llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #51 0x00007ff31bc7eb8e llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #52 0x00007ff31bc7eb8e llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #53 0x00007ff31bc7eb8e llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #54 0x00007ff31bc7eb8e llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #55 0x00007ff31bc7eb8e llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #56 0x00007ff31bc7eb8e llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #57 0x00007ff31bc7eb8e clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #58 0x00007ff31bc7eb8e 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:695:0 #59 0x00007ff31bc7f767 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:0 #60 0x00007ff31bc9c6f1 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 0x00007ff31bc9c6f1 clang::ento::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 0x00007ff31bc9dc4e clang::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 0x00007ff31bc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007ff31bc3fac2 clang::ento::CoreEngine::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 0x00007ff31bc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x00007ff31bc5109a clang::ento::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 0x00007ff31bf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x00007ff31bf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x00007ff31bf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x00007ff31bf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x00007ff31bf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x00007ff31bf4e0a7 llvm::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 0x00007ff31bf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x00007ff31bf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x00007ff31bf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x00007ff31bf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x00007ff31bf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x00007ff31bf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x00007ff31bf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x00007ff31a30724a __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 0x00007ff31a30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x00007ff31a30724a void clang::finalize>, 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 0x00007ff31a30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x00007ff31ba44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x00007ff31b9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x00007ff31b9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x00007ff31b9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x00007ff31ba948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000055f7463c2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000055f7463c670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000055f7463c8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000055f7463bc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x00007ff31263ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #94 0x00007ff31263f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #95 0x000055f7463bc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.c.script: line 1: 558742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/svalbuilder-casts.cpp (1169 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7930bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7930bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7930bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f792fc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7939635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7939635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7939635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7939635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7939635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7939635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7939635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7939635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f79392d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f79392d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f79392d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f79392d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f79392d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f79392d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f79392d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f79392d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f79392d4e65 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 #21 0x00007f79392d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f79392d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f79392d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f79392b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f79392b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f79392b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f79392d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f79392d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f79392d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f79392e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f79392e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f79392e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f79392e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f79392e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f79392e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f79392e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f79392e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f79392e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f793923da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f793923da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f793923da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f793923da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7939786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7939786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7939786b68 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 #46 0x00007f793926bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f793926bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f793926bf90 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 #49 0x00007f793926bf90 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 #50 0x00007f793926bf90 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 #51 0x00007f793926bf90 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 #52 0x00007f793926bf90 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 #53 0x00007f793926bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f793926bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f793926bf90 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 #56 0x00007f793923f21a 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:0 #57 0x00007f793925109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f793925109a clang::ento::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 0x00007f793954c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f793954c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f793954c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f793954c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f793954c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f793954e0a7 llvm::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 0x00007f793954e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f793954e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f7939551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f7939551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f7939551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f7939551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f7939551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f793790724a __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 0x00007f793790724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f793790724a void clang::finalize>, 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 0x00007f793790724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f7939044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f7938ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f7938ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f7938ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f79390948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000563fe0448a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000563fe044c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000563fe044e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000563fe0442903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f792fc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f792fc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000563fe0442945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-casts.cpp.script: line 1: 558802 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1170 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-logic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f59e97d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f59e97ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f59e97d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f59e8854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f59f2235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f59f2235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f59f2235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f59f2235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f59f2235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f59f2235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f59f2235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f59f2235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f59f1ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f59f1ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f59f1ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f59f1ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f59f1ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f59f1ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f59f1ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f59f1ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f59f1ed4e65 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 #21 0x00007f59f1ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f59f1ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f59f1ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f59f1eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f59f1eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f59f1eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f59f1ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f59f1ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f59f1ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f59f1ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f59f1ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f59f1ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f59f1ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f59f1ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f59f1ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f59f1ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f59f1ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f59f1ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f59f1e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f59f1e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f59f1e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f59f1e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f59f2386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f59f2386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f59f2386b68 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 #46 0x00007f59f1e69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f59f1e69db3 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 #48 0x00007f59f1e69db3 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 #49 0x00007f59f1e9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f59f1e9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f59f1e9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f59f1e9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f59f1e9d93e clang::ento::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 #54 0x00007f59f1e9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f59f1e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f59f1e3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f59f1e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f59f1e5109a clang::ento::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 0x00007f59f214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f59f214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f59f214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f59f214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f59f214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f59f214e0a7 llvm::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 0x00007f59f214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f59f214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f59f2151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f59f2151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f59f2151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f59f2151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f59f2151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f59f050724a __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 0x00007f59f050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f59f050724a void clang::finalize>, 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 0x00007f59f050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f59f1c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f59f1bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f59f1bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f59f1bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f59f1c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a1525bca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a1525c070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a1525c2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a1525b6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f59e883ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f59e883f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a1525b6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-logic.c.script: line 1: 558808 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-rearrange-comparisons.cpp (1171 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f527fbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f527fbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f527fbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f527ec54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f52882ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f52882ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f52882ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f52882ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f52882ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f52882ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f528826f34b 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 #11 0x00007f528826f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f528826f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f528826f34b 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:50 #14 0x00007f528829db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f528829df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f528823f9ea 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 #17 0x00007f528823fb9e 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:223:0 #18 0x00007f528825109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f528825109a clang::ento::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 0x00007f528854c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f528854c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f528854c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f528854c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f528854c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f528854e0a7 llvm::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 0x00007f528854e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f528854e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f5288551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f5288551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f5288551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f5288551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f5288551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f528690724a __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 0x00007f528690724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f528690724a void clang::finalize>, 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 0x00007f528690724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f5288044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f5287ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f5287ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f5287ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f52880948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000559469c90a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000559469c9470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000559469c96440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000559469c8a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f527ec3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f527ec3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000559469c8a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-rearrange-comparisons.cpp.script: line 2: 558820 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-simplify-compound-svals.cpp (1172 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc8441d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc8441ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc8441d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc843254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc84c8d44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fc84c8d44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fc84c8d44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fc84c8d44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fc84c8d44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fc84c8d44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fc84c8d44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fc84c8d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007fc84c8d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007fc84c8d44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007fc84c8d44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007fc84c8d44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007fc84c8d44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007fc84c8d44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007fc84c8d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007fc84c8d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007fc84c8d44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007fc84c8d44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007fc84c8d4c2b 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 #23 0x00007fc84c8d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007fc84c8d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007fc84c8d4c2b (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:31 #26 0x00007fc84c8d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007fc84c8d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007fc84c8d6cdb 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 0x00007fc84c8e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007fc84c8e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007fc84c8e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #32 0x00007fc84c8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x00007fc84c8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x00007fc84c8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x00007fc84c8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x00007fc84c8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x00007fc84c8e9060 clang::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 0x00007fc84c83da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007fc84c83da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007fc84c83da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x00007fc84c83da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #42 0x00007fc84cd86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x00007fc84cd86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x00007fc84cd86b68 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 0x00007fc84c86bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x00007fc84c86bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x00007fc84c86bf90 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 0x00007fc84c86bf90 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 0x00007fc84c86bf90 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 0x00007fc84c86bf90 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 0x00007fc84c86bf90 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 0x00007fc84c86bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x00007fc84c86bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x00007fc84c86bf90 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 0x00007fc84c83f21a 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:0 #56 0x00007fc84c85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x00007fc84c85109a clang::ento::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 0x00007fc84cb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007fc84cb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007fc84cb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x00007fc84cb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x00007fc84cb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x00007fc84cb4e0a7 llvm::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 0x00007fc84cb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x00007fc84cb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x00007fc84cb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x00007fc84cb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x00007fc84cb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x00007fc84cb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x00007fc84cb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x00007fc84af0724a __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 0x00007fc84af0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x00007fc84af0724a void clang::finalize>, 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 0x00007fc84af0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x00007fc84c644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x00007fc84c5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x00007fc84c5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x00007fc84c5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x00007fc84c6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x000056531d7aca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x000056531d7b070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x000056531d7b2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x000056531d7a6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x00007fc84323ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #85 0x00007fc84323f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #86 0x000056531d7a6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-compound-svals.cpp.script: line 1: 558826 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-in-evalbinop.cpp (1173 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa3327d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa3327ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa3327d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa331854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa33b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa33b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa33b235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa33b235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa33b235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa33b235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa33b235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa33b235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa33aed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa33aed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa33aed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa33aed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa33aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa33aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa33aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa33aed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa33aed4e65 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 #21 0x00007fa33aed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa33aed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa33aed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa33aeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa33aeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa33aeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa33aed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa33aed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa33aed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa33aee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa33aee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa33aee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa33aee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa33aee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa33aee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa33aee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa33aee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa33aee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa33ae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa33ae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa33ae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa33ae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa33b386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa33b386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa33b386b68 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 #46 0x00007fa33ae6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fa33ae6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fa33ae6bf90 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 #49 0x00007fa33ae6bf90 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 #50 0x00007fa33ae6bf90 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 #51 0x00007fa33ae6bf90 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 #52 0x00007fa33ae6bf90 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 #53 0x00007fa33ae6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fa33ae6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fa33ae6bf90 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 #56 0x00007fa33ae3f21a 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:0 #57 0x00007fa33ae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fa33ae5109a clang::ento::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 0x00007fa33b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fa33b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fa33b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fa33b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fa33b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fa33b14e0a7 llvm::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 0x00007fa33b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fa33b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fa33b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fa33b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fa33b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fa33b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fa33b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fa33950724a __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 0x00007fa33950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fa33950724a void clang::finalize>, 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 0x00007fa33950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fa33ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fa33abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fa33abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fa33abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fa33ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000559db31bba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000559db31bf70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000559db31c1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000559db31b5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fa33183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fa33183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000559db31b5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-in-evalbinop.cpp.script: line 1: 558833 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/switch-case.c (1176 of 19712) ******************** TEST 'Clang :: Analysis/switch-case.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8d0b9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8d0b9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8d0b9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8d0aa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8d140ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f8d140ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8d140ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8d140ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f8d140ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f8d140ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f8d1406f34b 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 #11 0x00007f8d1406f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f8d1406f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f8d1406f34b 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:50 #14 0x00007f8d1409db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f8d1409df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f8d1403f9ea 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 #17 0x00007f8d1403fb9e 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:223:0 #18 0x00007f8d1405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f8d1405109a clang::ento::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 0x00007f8d1434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f8d1434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f8d1434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f8d1434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f8d1434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f8d1434e0a7 llvm::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 0x00007f8d1434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f8d1434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f8d14351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f8d14351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f8d14351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f8d14351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f8d14351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f8d1270724a __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 0x00007f8d1270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f8d1270724a void clang::finalize>, 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 0x00007f8d1270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f8d13e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f8d13df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f8d13df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f8d13df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f8d13e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000564c0cd2fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000564c0cd3370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000564c0cd35440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000564c0cd29903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f8d0aa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f8d0aa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000564c0cd29945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/switch-case.c.script: line 1: 558871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-lambda.cpp (1177 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper-lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f4ea3bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4ea3bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4ea3bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4ea2c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4eac27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f4eac27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4eac27d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4eac27d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f4eac27d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f4eac27d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f4eac27d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f4eac27d99e 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 0x00007f4eac23ed11 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 0x00007f4eac23fc1e 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 0x00007f4eac25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f4eac25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f4eac54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f4eac54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f4eac54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f4eac54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f4eac54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f4eac54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f4eac54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f4eac54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f4eac551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f4eac551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f4eac551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f4eac551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f4eac551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f4eaa90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f4eaa90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f4eaa90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f4eaa90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f4eac044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f4eabff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f4eabff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f4eabff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f4eac0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000561e91c89a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000561e91c8d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000561e91c8f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000561e91c83903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f4ea2c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f4ea2c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000561e91c83945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper-lambda.cpp.script: line 1: 558883 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/svalbuilder-simplify-intsym.cpp (1178 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-intsym.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fc65bfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fc65bfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fc65bfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fc65b054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fc664a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fc664a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fc664a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fc664a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fc664a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fc664a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fc664a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fc664a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fc6646d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fc6646d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fc6646d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fc6646d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fc6646d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fc6646d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fc6646d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fc6646d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fc6646d4e65 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 #21 0x00007fc6646d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fc6646d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fc6646d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fc6646d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fc6646d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fc6646d6cdb 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 #27 0x00007fc6646d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fc6646d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fc6646d64ad 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 #30 0x00007fc6646e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fc6646e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fc6646e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fc6646e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fc6646e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fc6646e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fc6646e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fc6646e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fc6646e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fc66463da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fc66463da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fc66463da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fc66463da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fc664780bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007fc664780bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007fc664780bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007fc664780bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007fc664780bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007fc664780bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007fc664780bdc 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:0 #50 0x00007fc66461a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007fc66461a9db 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:26 #52 0x00007fc664675663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007fc664675663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007fc664675663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007fc664675663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007fc664675663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007fc664675663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007fc664675663 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:44 #59 0x00007fc66469d82f 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 0x00007fc66469d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007fc66469dc4e clang::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 0x00007fc66469df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fc66463fac2 clang::ento::CoreEngine::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 0x00007fc66465109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007fc66465109a clang::ento::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 0x00007fc66494c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007fc66494c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007fc66494c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007fc66494c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007fc66494c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007fc66494e0a7 llvm::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 0x00007fc66494e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007fc66494e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007fc664951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007fc664951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007fc664951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007fc664951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007fc664951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007fc662d0724a __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 0x00007fc662d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007fc662d0724a void clang::finalize>, 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 0x00007fc662d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007fc664444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007fc6643f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007fc6643f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007fc6643f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007fc6644948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x0000559b422d1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000559b422d570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000559b422d7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000559b422cb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007fc65b03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007fc65b03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x0000559b422cb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-intsym.cpp.script: line 1: 558853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-escape.cpp (1179 of 19712) ******************** TEST 'Clang :: Analysis/symbol-escape.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe4039d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe4039ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe4039d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe402a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe40c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe40c435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe40c435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe40c435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe40c435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe40c435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe40c435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe40c435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe40c0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe40c0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe40c0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe40c0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe40c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe40c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe40c0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe40c0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe40c0d4e65 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 #21 0x00007fe40c0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe40c0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe40c0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe40c0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe40c0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe40c0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe40c0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe40c0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe40c0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe40c0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe40c0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe40c0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe40c0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe40c0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe40c0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe40c0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe40c0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe40c0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe40c03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe40c03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe40c03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe40c03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe40c03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fe40c03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fe40c03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fe40c097620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fe40c097620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fe40c097620 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 #49 0x00007fe40c097620 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 #50 0x00007fe40c0977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fe40c0977b2 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 0x00007fe40c09dfaf clang::ento::ExprEngine::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 0x00007fe40c03f9ea 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 0x00007fe40c03fb9e 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:223:0 #55 0x00007fe40c05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007fe40c05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007fe40c34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007fe40c34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007fe40c34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007fe40c34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007fe40c34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007fe40c34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007fe40c34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007fe40c34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007fe40c351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007fe40c351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007fe40c351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007fe40c351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007fe40c351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007fe40a70724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007fe40a70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007fe40a70724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007fe40a70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007fe40be44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007fe40bdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007fe40bdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007fe40bdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007fe40be948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000055acb0576a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000055acb057a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000055acb057c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000055acb0570903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007fe402a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007fe402a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x000055acb0570945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-escape.cpp.script: line 1: 558873 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/svalbuilder-simplify-no-crash.c (1180 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9d37fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9d37fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9d37fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9d37054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9d40a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9d40a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9d40a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9d40a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9d40a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9d40a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9d40a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9d40a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9d406d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9d406d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9d406d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9d406d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9d406d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9d406d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9d406d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9d406d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9d406d4c2b 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 #21 0x00007f9d406d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9d406d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9d406d4c2b (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:31 #24 0x00007f9d406d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9d406d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9d406d6cdb 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 #27 0x00007f9d406e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f9d406e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f9d406e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f9d406e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f9d406e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f9d406e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f9d406e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f9d406e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f9d406e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f9d4063da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9d4063da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9d4063da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f9d4063da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f9d40b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f9d40b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f9d40b86b68 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 #43 0x00007f9d4066bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #44 0x00007f9d4066bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #45 0x00007f9d4066bf90 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 #46 0x00007f9d4066bf90 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 #47 0x00007f9d4066bf90 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 #48 0x00007f9d4066bf90 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 #49 0x00007f9d4066bf90 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 #50 0x00007f9d4066bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #51 0x00007f9d4066bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #52 0x00007f9d4066bf90 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 #53 0x00007f9d4063f21a 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:0 #54 0x00007f9d4065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f9d4065109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f9d4094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f9d4094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f9d4094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f9d4094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f9d4094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f9d4094e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f9d4094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f9d4094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f9d40951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f9d40951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f9d40951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f9d40951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f9d40951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f9d3ed0724a __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 0x00007f9d3ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f9d3ed0724a void clang::finalize>, 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 0x00007f9d3ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f9d40444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f9d403f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f9d403f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f9d403f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f9d404948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x0000563611077a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000056361107b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000056361107d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000563611071903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f9d3703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f9d3703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x0000563611071945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-no-crash.c.script: line 1: 558865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/symbol-reaper.c (1182 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f66ae3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f66ae3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f66ae3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f66ad454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f66b6ba315e llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f66b6ba315e llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f66b6ba315e llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f66b6ba315e llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f66b6ba315e llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x00007f66b6ba315e 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 0x00007f66b6ba315e get<(anonymous namespace)::MarkedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f66b6ba315e (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:59 #12 0x00007f66b6a1bfa7 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 0x00007f66b6a6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f66b6a6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f66b6a6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f66b6a6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f66b6a6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f66b6a6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f66b6a6f23c 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 0x00007f66b6a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f66b6a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f66b6a3fac2 clang::ento::CoreEngine::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 0x00007f66b6a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f66b6a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f66b6d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f66b6d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f66b6d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f66b6d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f66b6d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f66b6d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f66b6d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f66b6d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f66b6d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f66b6d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f66b6d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f66b6d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f66b6d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f66b510724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f66b510724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f66b510724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f66b510724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f66b6844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f66b67f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f66b67f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f66b67f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f66b68948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055b9df1e8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055b9df1ec70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055b9df1ee440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055b9df1e2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f66ad43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f66ad43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055b9df1e2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.c.script: line 1: 558894 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-reaper.cpp (1184 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f167a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f167a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f167a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1679a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1683435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1683435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1683435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1683435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1683435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1683435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1683435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1683435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f16830d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f16830d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f16830d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f16830d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f16830d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f16830d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f16830d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f16830d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f16830d4e65 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 #21 0x00007f16830d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f16830d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f16830d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f16830b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f16830b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f16830b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f16830d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f16830d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f16830d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f16830e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f16830e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f16830e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f16830e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f16830e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f16830e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f16830e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f16830e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f16830e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f168303da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f168303da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f168303da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f168303da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1683586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1683586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1683586b68 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 #46 0x00007f1683069db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f1683069db3 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 #48 0x00007f1683069db3 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 #49 0x00007f168309d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f168309d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f168309d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f168309d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f168309d93e clang::ento::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 #54 0x00007f168309dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f168309df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f168303fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f168305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f168305109a clang::ento::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 0x00007f168334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f168334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f168334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f168334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f168334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f168334e0a7 llvm::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 0x00007f168334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f168334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1683351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1683351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1683351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1683351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1683351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f168170724a __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 0x00007f168170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f168170724a void clang::finalize>, 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 0x00007f168170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1682e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1682df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1682df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1682df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1682e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005631f09b2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005631f09b670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005631f09b8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005631f09ac903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1679a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1679a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005631f09ac945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.cpp.script: line 1: 558908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-assertion.c (1185 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-assertion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9feb5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9feb5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9feb5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9fea654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9ff3cd44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9ff3cd44f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9ff3cd44f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9ff3cd44f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f9ff3cd44f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f9ff3cd44f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f9ff3cd44f4 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f9ff3cd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x00007f9ff3cd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x00007f9ff3cd44f4 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x00007f9ff3cd44f4 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x00007f9ff3cd44f4 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x00007f9ff3cd44f4 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x00007f9ff3cd44f4 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x00007f9ff3cd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x00007f9ff3cd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x00007f9ff3cd44f4 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x00007f9ff3cd44f4 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x00007f9ff3cd4c2b 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 #23 0x00007f9ff3cd4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x00007f9ff3cd4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x00007f9ff3cd4c2b (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:31 #26 0x00007f9ff3cd6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x00007f9ff3cd6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x00007f9ff3cd6cdb 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 0x00007f9ff3ce8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x00007f9ff3ce8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x00007f9ff3ce8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #32 0x00007f9ff3ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x00007f9ff3ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x00007f9ff3ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x00007f9ff3ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x00007f9ff3ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x00007f9ff3ce9060 clang::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 0x00007f9ff3c3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x00007f9ff3c3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x00007f9ff3c3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x00007f9ff3c3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #42 0x00007f9ff4186b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x00007f9ff4186b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x00007f9ff4186b68 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 0x00007f9ff3c69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x00007f9ff3c69db3 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 0x00007f9ff3c69db3 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 0x00007f9ff3c9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x00007f9ff3c9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x00007f9ff3c9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x00007f9ff3c9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x00007f9ff3c9d93e clang::ento::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 0x00007f9ff3c9dc4e clang::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 0x00007f9ff3c9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9ff3c3fac2 clang::ento::CoreEngine::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 0x00007f9ff3c5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x00007f9ff3c5109a clang::ento::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 0x00007f9ff3f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x00007f9ff3f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x00007f9ff3f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x00007f9ff3f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x00007f9ff3f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x00007f9ff3f4e0a7 llvm::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 0x00007f9ff3f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x00007f9ff3f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x00007f9ff3f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x00007f9ff3f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x00007f9ff3f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x00007f9ff3f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x00007f9ff3f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x00007f9ff230724a __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 0x00007f9ff230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x00007f9ff230724a void clang::finalize>, 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 0x00007f9ff230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x00007f9ff3a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x00007f9ff39f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x00007f9ff39f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x00007f9ff39f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x00007f9ff3a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x000055a219b95a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x000055a219b9970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x000055a219b9b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x000055a219b8f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x00007f9fea63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #85 0x00007f9fea63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #86 0x000055a219b8f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-assertion.c.script: line 1: 558924 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-simplification-disequality-info.cpp (1187 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-disequality-info.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:365: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-fixpoint-iteration-unreachable-code.cpp (1188 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f0aa4fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0aa4fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f0aa4fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0aae713ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0aada35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0aada35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0aada35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0aada35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0aada35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0aada35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0aada35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0aada35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0aad6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0aad6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0aad6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0aad6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0aad6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0aad6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0aad6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0aad6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0aad6d4c2b 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 #21 0x00007f0aad6d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0aad6d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0aad6d4c2b (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:31 #24 0x00007f0aad6d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0aad6d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0aad6d6cdb 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 #27 0x00007f0aad6e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f0aad6e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f0aad6e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #30 0x00007f0aad6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x00007f0aad6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x00007f0aad6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x00007f0aad6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007f0aad6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007f0aad6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x00007f0aad63da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0aad63da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0aad63da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x00007f0aad63da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #40 0x00007f0aadb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x00007f0aadb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x00007f0aadb86b68 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 #43 0x00007f0aad669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #44 0x00007f0aad669db3 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 #45 0x00007f0aad669db3 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 #46 0x00007f0aad69d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x00007f0aad69d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x00007f0aad69d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x00007f0aad69d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x00007f0aad69d93e clang::ento::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 #51 0x00007f0aad69dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x00007f0aad69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x00007f0aad63fac2 clang::ento::CoreEngine::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 0x00007f0aad65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007f0aad65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007f0aad94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007f0aad94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007f0aad94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007f0aad94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007f0aad94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007f0aad94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007f0aad94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007f0aad94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007f0aad951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007f0aad951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007f0aad951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007f0aad951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007f0aad951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007f0aabd0724a __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 0x00007f0aabd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007f0aabd0724a void clang::finalize>, 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 0x00007f0aabd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007f0aad444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007f0aad3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007f0aad3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007f0aad3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007f0aad4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055ff2508fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055ff2509370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055ff25095440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055ff25089903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007f0aae6fdf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007f0aae6fe009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055ff25089945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-fixpoint-iteration-unreachable-code.cpp.script: line 1: 558950 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-bo-div.c (1190 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-bo-div.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f268cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f268cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f268cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f268bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2695635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2695635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2695635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2695635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2695635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2695635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2695635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2695635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f26952d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f26952d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f26952d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f26952d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f26952d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f26952d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f26952d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f26952d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f26952d4e65 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 #21 0x00007f26952d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f26952d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f26952d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f26952d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f26952d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f26952d6cdb 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 #27 0x00007f26952d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f26952d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f26952d64ad 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 #30 0x00007f26952e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f26952e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f26952e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f26952e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f26952e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f26952e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f26952e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f26952e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f26952e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f269523da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f269523da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f269523da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f269523da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2695380bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007f2695380bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007f2695380bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007f2695380bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007f2695380bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007f2695380bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007f2695380bdc 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:0 #50 0x00007f269521a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007f269521a9db 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:26 #52 0x00007f2695275663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f2695275663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f2695275663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007f2695275663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007f2695275663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007f2695275663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007f2695275663 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:44 #59 0x00007f269529d82f 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 0x00007f269529d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007f269529dc4e clang::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 0x00007f269529df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f269523fac2 clang::ento::CoreEngine::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 0x00007f269525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f269525109a clang::ento::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 0x00007f269554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f269554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f269554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f269554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f269554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f269554e0a7 llvm::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 0x00007f269554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f269554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f2695551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f2695551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f2695551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f2695551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f2695551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f269390724a __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 0x00007f269390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f269390724a void clang::finalize>, 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 0x00007f269390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f2695044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f2694ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f2694ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f2694ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f26950948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000055e63f723a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000055e63f72770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000055e63f729440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000055e63f71d903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f268bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f268bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000055e63f71d945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-bo-div.c.script: line 1: 558933 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-reassume.cpp (1191 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-reassume.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f92541d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f92541ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f92541d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9253254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f925c8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f925c8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f925c8ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f925c8ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f925c8ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f925c8ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f925c86f34b 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 #11 0x00007f925c86f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f925c86f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f925c86f34b 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:50 #14 0x00007f925c89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f925c89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f925c83f9ea 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 #17 0x00007f925c83fb9e 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:223:0 #18 0x00007f925c85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f925c85109a clang::ento::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 0x00007f925cb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f925cb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f925cb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f925cb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f925cb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f925cb4e0a7 llvm::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 0x00007f925cb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f925cb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f925cb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f925cb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f925cb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f925cb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f925cb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f925af0724a __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 0x00007f925af0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f925af0724a void clang::finalize>, 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 0x00007f925af0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f925c644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f925c5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f925c5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f925c5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f925c6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000563c652a5a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000563c652a970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000563c652ab440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000563c6529f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f925323ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f925323f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000563c6529f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-reassume.cpp.script: line 1: 558997 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/symbol-simplification-fixpoint-one-iteration.cpp (1192 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:249: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1193 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:249: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/taint-generic.cpp (1196 of 19712) ******************** TEST 'Clang :: Analysis/taint-generic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8af2bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8af2bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8af2bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8afc325ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8afb27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f8afb27d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f8afb27d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f8afb27d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f8afb27d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f8afb27d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f8afb27d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f8afb27d99e 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 0x00007f8afb23ed11 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 0x00007f8afb23fc1e 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 0x00007f8afb25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f8afb25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f8afb54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f8afb54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f8afb54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f8afb54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f8afb54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f8afb54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f8afb54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f8afb54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f8afb551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f8afb551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f8afb551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f8afb551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f8afb551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f8af990724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f8af990724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f8af990724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f8af990724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f8afb044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f8afaff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f8afaff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f8afaff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f8afb0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000561eaeabaa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000561eaeabe70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000561eaeac0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000561eaeab4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f8afc30ff50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f8afc310009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000561eaeab4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.cpp.script: line 1: 559057 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1199 of 19712) ******************** TEST 'Clang :: Analysis/taint-tester.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f37ccbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f37ccbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f37ccbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f37cbc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f37d527d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f37d527d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f37d527d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f37d527d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f37d527d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f37d527d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f37d527d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f37d527d99e 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 0x00007f37d523ed11 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 0x00007f37d523fc1e 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 0x00007f37d525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f37d525109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f37d554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f37d554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f37d554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f37d554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f37d554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f37d554e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f37d554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f37d554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f37d5551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f37d5551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f37d5551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f37d5551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f37d5551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f37d390724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f37d390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f37d390724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f37d390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f37d5044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f37d4ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f37d4ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f37d4ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f37d50948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055c38f430a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055c38f43470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055c38f436440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055c38f42a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f37cbc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f37cbc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055c38f42a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.cpp.script: line 1: 559070 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/symbol-simplification-symplify-results-in-dead-symbol.cpp (1200 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007fa2b3bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa2b3bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa2b3bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa2bd31ead0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa2bc2c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa2bc2c7b03 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa2bc2c7b03 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa2bc2c7b03 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa2bc2c7b03 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa2bc2c7b03 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa2bc2c7b03 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fa2bc2c7b03 (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:63 #12 0x00007fa2bc2c9fe0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007fa2bc2c9fe0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fa2bc2c9fe0 (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:60 #15 0x00007fa2bc2d4425 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007fa2bc2d4425 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007fa2bc2d4425 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #18 0x00007fa2bc2d4425 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #19 0x00007fa2bc2d4425 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #20 0x00007fa2bc2d4425 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #21 0x00007fa2bc2d4425 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #22 0x00007fa2bc2d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #23 0x00007fa2bc2d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #24 0x00007fa2bc2d4425 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #25 0x00007fa2bc2d4425 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #26 0x00007fa2bc2d4c2b 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 #27 0x00007fa2bc2d4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x00007fa2bc2d4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa2bc2d4c2b (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:31 #30 0x00007fa2bc2d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007fa2bc2d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007fa2bc2d6cdb 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 #33 0x00007fa2bc2e8d49 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x00007fa2bc2e8d49 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x00007fa2bc2e8d49 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:63:0 #36 0x00007fa2bc2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #37 0x00007fa2bc2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #38 0x00007fa2bc2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #39 0x00007fa2bc2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa2bc2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa2bc2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #42 0x00007fa2bc23da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x00007fa2bc23da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x00007fa2bc23da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #45 0x00007fa2bc23da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #46 0x00007fa2bc786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x00007fa2bc786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x00007fa2bc786b68 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 #49 0x00007fa2bc269db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #50 0x00007fa2bc269db3 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 #51 0x00007fa2bc269db3 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 #52 0x00007fa2bc29d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #53 0x00007fa2bc29d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #54 0x00007fa2bc29d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #55 0x00007fa2bc29d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #56 0x00007fa2bc29d93e clang::ento::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 #57 0x00007fa2bc29dc4e clang::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 0x00007fa2bc29df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa2bc23fac2 clang::ento::CoreEngine::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 0x00007fa2bc25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x00007fa2bc25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x00007fa2bc54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x00007fa2bc54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x00007fa2bc54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x00007fa2bc54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x00007fa2bc54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x00007fa2bc54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x00007fa2bc54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x00007fa2bc54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x00007fa2bc551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x00007fa2bc551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x00007fa2bc551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x00007fa2bc551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x00007fa2bc551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x00007fa2ba90724a __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 0x00007fa2ba90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x00007fa2ba90724a void clang::finalize>, 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 0x00007fa2ba90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x00007fa2bc044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x00007fa2bbff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x00007fa2bbff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x00007fa2bbff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x00007fa2bc0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x0000557c23745a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x0000557c2374970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x0000557c2374b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x0000557c2373f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x00007fa2bd308f50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #89 0x00007fa2bd309009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #90 0x0000557c2373f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-symplify-results-in-dead-symbol.cpp.script: line 1: 559014 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-nonloc-loc.cpp (1201 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-nonloc-loc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f56d4fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f56d4fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f56d4fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f56d4054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f56dda35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f56dda35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f56dda35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f56dda35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f56dda35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f56dda35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f56dda35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f56dda35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f56dd6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f56dd6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f56dd6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f56dd6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f56dd6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f56dd6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f56dd6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f56dd6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f56dd6d4e65 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 #21 0x00007f56dd6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f56dd6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f56dd6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f56dd6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f56dd6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f56dd6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f56dd6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f56dd6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f56dd6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f56dd6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f56dd6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f56dd6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f56dd6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f56dd6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f56dd6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f56dd6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f56dd6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f56dd6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f56dd63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f56dd63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f56dd63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f56dd63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f56ddb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f56ddb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f56ddb86b68 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 #46 0x00007f56dd66bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f56dd66bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f56dd66bf90 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 #49 0x00007f56dd66bf90 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 #50 0x00007f56dd66bf90 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 #51 0x00007f56dd66bf90 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 #52 0x00007f56dd66bf90 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 #53 0x00007f56dd66bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f56dd66bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f56dd66bf90 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 #56 0x00007f56dd63f21a 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:0 #57 0x00007f56dd65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f56dd65109a clang::ento::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 0x00007f56dd94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f56dd94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f56dd94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f56dd94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f56dd94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f56dd94e0a7 llvm::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 0x00007f56dd94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f56dd94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f56dd951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f56dd951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f56dd951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f56dd951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f56dd951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f56dbd0724a __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 0x00007f56dbd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f56dbd0724a void clang::finalize>, 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 0x00007f56dbd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f56dd444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f56dd3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f56dd3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f56dd3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f56dd4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d594b9ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d594ba270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d594ba4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d594b98903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f56d403ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f56d403f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d594b98945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-nonloc-loc.cpp.script: line 1: 558996 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/taint-dumps.c (1202 of 19712) ******************** TEST 'Clang :: Analysis/taint-dumps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fdcd63d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x00007fdcd63ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x00007fdcd63d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-diagnostic-visitor.c (1203 of 19712) ******************** TEST 'Clang :: Analysis/taint-diagnostic-visitor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f06df3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f06df3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f06df3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f06de454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f06e7e29e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f06e7e29e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f06e7e29e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f06e7e29e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f06e7e29e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f06e7e29e48 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 0x00007f06e7e29e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f06e7e29e48 (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 0x00007f06e7a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007f06e7a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f06e7a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007f06e7a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007f06e7a2561d 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:26 #17 0x00007f06e7a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007f06e7a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007f06e7a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007f06e7a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007f06e7a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007f06e7a7ecbc 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:0 #23 0x00007f06e7a7f767 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:0 #24 0x00007f06e7a9c6f1 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 0x00007f06e7a9c6f1 clang::ento::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 0x00007f06e7a9dc4e clang::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 0x00007f06e7a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f06e7a3fac2 clang::ento::CoreEngine::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 0x00007f06e7a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007f06e7a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007f06e7d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007f06e7d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007f06e7d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007f06e7d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007f06e7d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007f06e7d4e0a7 llvm::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 0x00007f06e7d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007f06e7d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007f06e7d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007f06e7d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007f06e7d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007f06e7d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007f06e7d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007f06e610724a __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 0x00007f06e610724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f06e610724a void clang::finalize>, 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 0x00007f06e610724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f06e7844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f06e77f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f06e77f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f06e77f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f06e78948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x0000558d83fd7a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000558d83fdb70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000558d83fdd440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000558d83fd1903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007f06de43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007f06de43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x0000558d83fd1945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-diagnostic-visitor.c.script: line 1: 559035 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.c (1204 of 19712) ******************** TEST 'Clang :: Analysis/taint-generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fea3ffd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fea3ffceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fea3ffd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fea3f054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fea48a29e48 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fea48a29e48 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fea48a29e48 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fea48a29e48 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fea48a29e48 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fea48a29e48 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 0x00007fea48a29e48 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fea48a29e48 (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 0x00007fea4862561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x00007fea4862561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fea4862561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x00007fea4862561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x00007fea4862561d 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:26 #17 0x00007fea4867ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #18 0x00007fea4867ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #19 0x00007fea4867ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #20 0x00007fea4867ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #21 0x00007fea4867ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #22 0x00007fea4867ecbc 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:0 #23 0x00007fea4867f767 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:0 #24 0x00007fea4869c6f1 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 0x00007fea4869c6f1 clang::ento::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 0x00007fea4869dc4e clang::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 0x00007fea4869df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fea4863fac2 clang::ento::CoreEngine::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 0x00007fea4865109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x00007fea4865109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x00007fea4894c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x00007fea4894c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x00007fea4894c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x00007fea4894c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x00007fea4894c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x00007fea4894e0a7 llvm::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 0x00007fea4894e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x00007fea4894e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x00007fea48951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x00007fea48951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x00007fea48951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x00007fea48951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x00007fea48951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x00007fea46d0724a __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 0x00007fea46d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007fea46d0724a void clang::finalize>, 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 0x00007fea46d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007fea48444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007fea483f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007fea483f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007fea483f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007fea484948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x0000562a5c1e3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000562a5c1e770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000562a5c1e9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000562a5c1dd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x00007fea3f03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #58 0x00007fea3f03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #59 0x0000562a5c1dd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.c.script: line 5: 559054 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/templates.cpp (1206 of 19712) ******************** TEST 'Clang :: Analysis/templates.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f46d6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f46d6dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f46d6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f46d5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f46df47d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f46df47d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f46df47d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f46df47d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f46df47d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f46df47d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f46df47d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f46df47d99e 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 0x00007f46df43ed11 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 0x00007f46df43fc1e 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 0x00007f46df45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f46df45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f46df74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f46df74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f46df74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f46df74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f46df74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f46df74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f46df74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f46df74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f46df751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f46df751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f46df751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f46df751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f46df751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f46ddb0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f46ddb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f46ddb0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f46ddb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f46df244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f46df1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f46df1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f46df1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f46df2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055c213dc0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055c213dc470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055c213dc6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055c213dba903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f46d5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f46d5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055c213dba945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/templates.cpp.script: line 2: 559101 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/temporaries-callback-order.cpp (1207 of 19712) ******************** TEST 'Clang :: Analysis/temporaries-callback-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:315: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:362: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/template-param-objects.cpp (1208 of 19712) ******************** TEST 'Clang :: Analysis/template-param-objects.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f62319d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f62319ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f62319d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6230a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f623a06f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f623a06f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f623a06f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f623a06f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f623a06f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f623a06f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f623a06f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f623a06f83e 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 0x00007f623a0725b9 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 0x00007f623a0725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f623a0725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f623a0725b9 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 #16 0x00007f623a0727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f623a0727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f623a0727ab 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 #19 0x00007f623a099d0e 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 #20 0x00007f623a09c69e 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 #21 0x00007f623a09c69e clang::ento::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 #22 0x00007f623a09dc4e clang::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 0x00007f623a09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f623a03fac2 clang::ento::CoreEngine::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 0x00007f623a05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f623a05109a clang::ento::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 0x00007f623a34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f623a34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f623a34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f623a34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f623a34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f623a34e0a7 llvm::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 0x00007f623a34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f623a34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f623a351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f623a351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f623a351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f623a351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f623a351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f623870724a __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 0x00007f623870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f623870724a void clang::finalize>, 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 0x00007f623870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f6239e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f6239df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f6239df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f6239df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f6239e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x0000555e158aba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000555e158af70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000555e158b1440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000555e158a5903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f6230a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f6230a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x0000555e158a5945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/template-param-objects.cpp.script: line 1: 559098 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/temp-obj-dtors-option.cpp (1209 of 19712) ******************** TEST 'Clang :: Analysis/temp-obj-dtors-option.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f365cbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f365cbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f365cbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f365bc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f3665272b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f3665272b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f3665272b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f3665272b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f3665272b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f3665272b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f3665272b29 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:89 #11 0x00007f3665272e8c 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 #12 0x00007f3665272e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f3665272e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f3665272e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f3665272e8c 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:53 #16 0x00007f36652731e0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f36652731e0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f36652731e0 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:63 #19 0x00007f366529a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007f366529a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f366529a404 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 #22 0x00007f366529a404 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 #23 0x00007f366529c69e 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 0x00007f366529c69e clang::ento::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 #25 0x00007f366529dc4e clang::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 0x00007f366529df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f366523fac2 clang::ento::CoreEngine::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 0x00007f366525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x00007f366525109a clang::ento::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 0x00007f366554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f366554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f366554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x00007f366554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x00007f366554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x00007f366554e0a7 llvm::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 0x00007f366554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x00007f366554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x00007f3665551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x00007f3665551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x00007f3665551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x00007f3665551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x00007f3665551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x00007f366390724a __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 0x00007f366390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x00007f366390724a void clang::finalize>, 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 0x00007f366390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x00007f3665044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #48 0x00007f3664ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #49 0x00007f3664ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #50 0x00007f3664ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #51 0x00007f36650948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #52 0x000055bcc1c3ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x000055bcc1c4070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x000055bcc1c42440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x000055bcc1c36903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x00007f365bc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #57 0x00007f365bc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #58 0x000055bcc1c36945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/temp-obj-dtors-option.cpp.script: line 2: 559090 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/taint-tester.c (1210 of 19712) ******************** TEST 'Clang :: Analysis/taint-tester.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f621b3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f621b3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f621b3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f621a454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6223e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f6223e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f6223e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f6223e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f6223e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f6223e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f6223e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f6223e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f6223ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f6223ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f6223ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f6223ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f6223ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f6223ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f6223ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f6223ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f6223ad4e65 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 #21 0x00007f6223ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f6223ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f6223ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f6223ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f6223ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f6223ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f6223ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f6223ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f6223ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f6223ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f6223ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f6223ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f6223ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f6223ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f6223ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f6223ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f6223ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f6223ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f6223a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f6223a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f6223a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f6223a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f6223f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f6223f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f6223f86b68 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 #46 0x00007f6223a69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f6223a69db3 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 #48 0x00007f6223a69db3 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 #49 0x00007f6223a9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f6223a9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f6223a9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f6223a9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f6223a9d93e clang::ento::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 #54 0x00007f6223a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f6223a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f6223a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f6223a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f6223a5109a clang::ento::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 0x00007f6223d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f6223d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f6223d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f6223d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f6223d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f6223d4e0a7 llvm::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 0x00007f6223d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f6223d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f6223d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f6223d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f6223d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f6223d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f6223d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f622210724a __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 0x00007f622210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f622210724a void clang::finalize>, 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 0x00007f622210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6223844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f62237f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f62237f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f62237f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f62238948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055cd8d13ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055cd8d14070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055cd8d142440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055cd8d136903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f621a43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f621a43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055cd8d136945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.c.script: line 1: 559061 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/temporaries.mm (1212 of 19712) ******************** TEST 'Clang :: Analysis/temporaries.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa0eefd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa0eefceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa0eefd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa0ee054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa0f7672b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa0f7672b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa0f7672b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa0f7672b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fa0f7672b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fa0f7672b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007fa0f7672b29 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:89 #11 0x00007fa0f7672e8c 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 #12 0x00007fa0f7672e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007fa0f7672e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007fa0f7672e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007fa0f7672e8c 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:53 #16 0x00007fa0f76732e6 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 #17 0x00007fa0f76732e6 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #18 0x00007fa0f76732e6 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x00007fa0f76732e6 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:68 #20 0x00007fa0f7673400 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #21 0x00007fa0f7673400 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #22 0x00007fa0f7673400 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:64 #23 0x00007fa0f769a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007fa0f769a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007fa0f769a404 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 0x00007fa0f769a404 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 0x00007fa0f769c69e 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 0x00007fa0f769c69e clang::ento::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 0x00007fa0f769dc4e clang::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 0x00007fa0f769df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa0f763fac2 clang::ento::CoreEngine::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 0x00007fa0f765109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #33 0x00007fa0f765109a clang::ento::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 0x00007fa0f794c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x00007fa0f794c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x00007fa0f794c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #37 0x00007fa0f794c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #38 0x00007fa0f794c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #39 0x00007fa0f794e0a7 llvm::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 0x00007fa0f794e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x00007fa0f794e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #42 0x00007fa0f7951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x00007fa0f7951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x00007fa0f7951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x00007fa0f7951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x00007fa0f7951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x00007fa0f5d0724a __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 0x00007fa0f5d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x00007fa0f5d0724a void clang::finalize>, 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 0x00007fa0f5d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x00007fa0f7444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #52 0x00007fa0f73f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #53 0x00007fa0f73f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #54 0x00007fa0f73f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #55 0x00007fa0f74948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #56 0x00005629a785ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x00005629a785f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x00005629a7861440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x00005629a7855903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x00007fa0ee03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #61 0x00007fa0ee03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #62 0x00005629a7855945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.mm.script: line 1: 559133 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/test-include-cpp.cpp (1213 of 19712) ******************** TEST 'Clang :: Analysis/test-include-cpp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007ff6929d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff6929ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff6929d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff69c110ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff69b435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff69b435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff69b435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff69b435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff69b435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff69b435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff69b435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff69b435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff69b0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff69b0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff69b0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff69b0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff69b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff69b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff69b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff69b0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff69b0d4e65 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 #21 0x00007ff69b0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff69b0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff69b0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff69b0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff69b0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff69b0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff69b0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff69b0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff69b0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff69b0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff69b0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff69b0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff69b0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff69b0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff69b0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff69b0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff69b0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff69b0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff69b03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff69b03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff69b03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff69b03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff69b03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff69b03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff69b03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff69b00953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff69b00953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff69b00953e 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 #49 0x00007ff69b050e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff69b050e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff69b050e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ff69b05149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff69b05149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff69b05149e 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 #55 0x00007ff69b34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff69b34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff69b34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff69b34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff69b34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff69b34e0a7 llvm::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 0x00007ff69b34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff69b34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff69b351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff69b351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff69b351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff69b351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff69b351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff69970724a __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 0x00007ff69970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff69970724a void clang::finalize>, 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 0x00007ff69970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff69ae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff69adf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff69adf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff69adf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff69ae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x00005653947dca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x00005653947e070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x00005653947e2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x00005653947d6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007ff69c0faf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007ff69c0fb009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x00005653947d6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-include-cpp.cpp.script: line 1: 559143 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/this-pointer.cpp (1214 of 19712) ******************** TEST 'Clang :: Analysis/this-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9680fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9680fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9680fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9680054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f968966efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f968966efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f968966efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f968966efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f968966efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f968966efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f968966efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f968966efd6 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 0x00007f968969db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f968969df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f968963f9ea 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 #15 0x00007f968963fb9e 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:223:0 #16 0x00007f968965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f968965109a clang::ento::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 0x00007f968994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f968994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f968994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f968994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f968994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f968994e0a7 llvm::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 0x00007f968994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f968994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f9689951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f9689951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f9689951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f9689951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f9689951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f9687d0724a __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 0x00007f9687d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f9687d0724a void clang::finalize>, 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 0x00007f9687d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f9689444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f96893f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f96893f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f96893f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f96894948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x0000559915146a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055991514a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055991514c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000559915140903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f968003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f968003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x0000559915140945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/this-pointer.cpp.script: line 1: 559187 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/temporaries.cpp (1215 of 19712) ******************** TEST 'Clang :: Analysis/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fcb5b9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fcb5b9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fcb5b9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fcb65121ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fcb64435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fcb64435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fcb64435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fcb64435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fcb64435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fcb64435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fcb64435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fcb64435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fcb640d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fcb640d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fcb640d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fcb640d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fcb640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fcb640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fcb640d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fcb640d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fcb640d4e65 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 #21 0x00007fcb640d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fcb640d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fcb640d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fcb640b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fcb640b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fcb640b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fcb640d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fcb640d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fcb640d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fcb640e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fcb640e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fcb640e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fcb640e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fcb640e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fcb640e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fcb640e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fcb640e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fcb640e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fcb6403da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fcb6403da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fcb6403da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fcb6403da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fcb64586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fcb64586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fcb64586b68 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 #46 0x00007fcb6406bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fcb6406bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fcb6406bf90 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 #49 0x00007fcb6406bf90 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 #50 0x00007fcb6406bf90 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 #51 0x00007fcb6406bf90 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 #52 0x00007fcb6406bf90 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 #53 0x00007fcb6406bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fcb6406bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fcb6406bf90 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 #56 0x00007fcb6403f21a 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:0 #57 0x00007fcb6405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fcb6405109a clang::ento::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 0x00007fcb6434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fcb6434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fcb6434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fcb6434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fcb6434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fcb6434e0a7 llvm::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 0x00007fcb6434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fcb6434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fcb64351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fcb64351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fcb64351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fcb64351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fcb64351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fcb6270724a __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 0x00007fcb6270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fcb6270724a void clang::finalize>, 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 0x00007fcb6270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fcb63e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fcb63df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fcb63df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fcb63df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fcb63e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055911d566a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055911d56a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055911d56c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055911d560903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fcb6510bf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fcb6510c009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055911d560945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.cpp.script: line 4: 559129 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/track-control-dependency-conditions.cpp (1216 of 19712) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:29: Error evaluating statement #0 0x00007f93a3bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f93a3bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f93a3bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f93a2c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f93ac26efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f93ac26efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f93ac26efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f93ac26efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f93ac26efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f93ac26efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f93ac26efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f93ac26efd6 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 0x00007f93ac29db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f93ac29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f93ac23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #15 0x00007f93ac25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x00007f93ac25109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x00007f93ac54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f93ac54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f93ac54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x00007f93ac54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x00007f93ac54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x00007f93ac54e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x00007f93ac54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x00007f93ac54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x00007f93ac551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x00007f93ac551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x00007f93ac551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x00007f93ac551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x00007f93ac551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x00007f93aa90724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x00007f93aa90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x00007f93aa90724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x00007f93aa90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x00007f93ac044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x00007f93abff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x00007f93abff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x00007f93abff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x00007f93ac0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000055d406346a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000055d40634a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000055d40634c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000055d406340903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x00007f93a2c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #44 0x00007f93a2c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #45 0x000055d406340945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.cpp.script: line 4: 559189 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/test-after-div-zero.c (1217 of 19712) ******************** TEST 'Clang :: Analysis/test-after-div-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9c791d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9c791ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9c791d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9c78254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9c81c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9c81c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9c81c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9c81c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9c81c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9c81c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9c81c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9c81c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9c818d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9c818d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9c818d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9c818d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9c818d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9c818d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9c818d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9c818d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9c818d4e65 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 #21 0x00007f9c818d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9c818d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9c818d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9c818d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9c818d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9c818d6cdb 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 #27 0x00007f9c818d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9c818d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9c818d64ad 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 #30 0x00007f9c818e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9c818e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9c818e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9c818e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9c818e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9c818e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9c818e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9c818e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9c818e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9c8183da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9c8183da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9c8183da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9c8183da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9c8183df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f9c8183df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f9c8183df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f9c81af40ab llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:0 #47 0x00007f9c81af40ab isZero /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:142:0 #48 0x00007f9c81af40ab checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:205:0 #49 0x00007f9c81af40ab 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:0 #50 0x00007f9c8181a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007f9c8181a9db 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:26 #52 0x00007f9c81875663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f9c81875663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f9c81875663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007f9c81875663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007f9c81875663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007f9c81875663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007f9c81875663 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:44 #59 0x00007f9c8189d82f 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 0x00007f9c8189d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007f9c8189dc4e clang::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 0x00007f9c8189df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f9c8183fac2 clang::ento::CoreEngine::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 0x00007f9c8185109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f9c8185109a clang::ento::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 0x00007f9c81b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f9c81b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f9c81b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f9c81b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f9c81b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f9c81b4e0a7 llvm::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 0x00007f9c81b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f9c81b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f9c81b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f9c81b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f9c81b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f9c81b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f9c81b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f9c7ff0724a __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 0x00007f9c7ff0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f9c7ff0724a void clang::finalize>, 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 0x00007f9c7ff0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f9c81644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f9c815f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f9c815f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f9c815f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f9c816948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000055aa698cea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000055aa698d270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000055aa698d4440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000055aa698c8903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f9c7823ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f9c7823f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000055aa698c8945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-after-div-zero.c.script: line 2: 559134 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/track-control-dependency-conditions.m (1218 of 19712) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f9e4a9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9e4a9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9e4a9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9e49a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9e53435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f9e53435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f9e53435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f9e53435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f9e53435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f9e53435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f9e53435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f9e53435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f9e530d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f9e530d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f9e530d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f9e530d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f9e530d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f9e530d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f9e530d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f9e530d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f9e530d4e65 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 #21 0x00007f9e530d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f9e530d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f9e530d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f9e530b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f9e530b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f9e530b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f9e530d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f9e530d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f9e530d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f9e530e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f9e530e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f9e530e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f9e530e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f9e530e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f9e530e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f9e530e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f9e530e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f9e530e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f9e5303da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f9e5303da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f9e5303da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f9e5303da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f9e5303df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f9e5303df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f9e5303df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f9e5300953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f9e5300953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f9e5300953e 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 #49 0x00007f9e53050eff llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f9e53050eff llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f9e53050eff clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x00007f9e5305149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f9e5305149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f9e5305149e 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 #55 0x00007f9e5334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f9e5334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f9e5334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f9e5334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f9e5334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f9e5334e0a7 llvm::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 0x00007f9e5334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f9e5334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f9e53351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f9e53351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f9e53351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f9e53351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f9e53351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f9e5170724a __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 0x00007f9e5170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f9e5170724a void clang::finalize>, 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 0x00007f9e5170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f9e52e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f9e52df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f9e52df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f9e52df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f9e52e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000562ee28d2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000562ee28d670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000562ee28d8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000562ee28cc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f9e49a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f9e49a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000562ee28cc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.m.script: line 1: 559196 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/test-separate-retaincount.cpp (1219 of 19712) ******************** TEST 'Clang :: Analysis/test-separate-retaincount.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f14623d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f14623ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f14623d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1461454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f146ae35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f146ae35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f146ae35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f146ae35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f146ae35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f146ae35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f146ae35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f146ae35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f146aad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f146aad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f146aad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f146aad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f146aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f146aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f146aad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f146aad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f146aad4e65 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 #21 0x00007f146aad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f146aad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f146aad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f146aab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f146aab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f146aab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f146aad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f146aad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f146aad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f146aae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f146aae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f146aae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f146aae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f146aae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f146aae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f146aae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f146aae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f146aae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f146aa3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f146aa3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f146aa3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f146aa3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f146aa3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f146aa3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f146aa3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f146aa97620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f146aa97620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f146aa97620 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 #49 0x00007f146aa97620 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 #50 0x00007f146aa977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f146aa977b2 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 0x00007f146aa9dfaf clang::ento::ExprEngine::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 0x00007f146aa3f9ea 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 0x00007f146aa3fb9e 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:223:0 #55 0x00007f146aa5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f146aa5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f146ad4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f146ad4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f146ad4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f146ad4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f146ad4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f146ad4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f146ad4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f146ad4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f146ad51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f146ad51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f146ad51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f146ad51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f146ad51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f146910724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f146910724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f146910724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f146910724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f146a844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f146a7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f146a7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f146a7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f146a8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x0000564916fe4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x0000564916fe870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x0000564916fea440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x0000564916fde903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x00007f146143ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #84 0x00007f146143f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #85 0x0000564916fde945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-separate-retaincount.cpp.script: line 2: 559167 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1221 of 19712) ******************** 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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe873bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe873bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe873bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe872c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe87c635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe87c635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe87c635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe87c635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe87c635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe87c635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe87c635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe87c635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe87c2d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe87c2d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe87c2d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe87c2d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe87c2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe87c2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe87c2d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe87c2d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe87c2d4e65 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 #21 0x00007fe87c2d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe87c2d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe87c2d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe87c2b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe87c2b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe87c2b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe87c2d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe87c2d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe87c2d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe87c2e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe87c2e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe87c2e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe87c2e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe87c2e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe87c2e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe87c2e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe87c2e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe87c2e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe87c23da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe87c23da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe87c23da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe87c23da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe87c786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe87c786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe87c786b68 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 #46 0x00007fe87c29808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007fe87c29808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007fe87c29808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007fe87c29808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007fe87c29808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007fe87c29808c 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 #52 0x00007fe87c29bfee 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 #53 0x00007fe87c29bfee clang::ento::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 #54 0x00007fe87c29dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fe87c29df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fe87c23fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fe87c25109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe87c25109a clang::ento::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 0x00007fe87c54c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe87c54c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe87c54c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe87c54c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe87c54c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe87c54e0a7 llvm::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 0x00007fe87c54e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe87c54e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe87c551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe87c551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe87c551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe87c551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe87c551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe87a90724a __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 0x00007fe87a90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe87a90724a void clang::finalize>, 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 0x00007fe87a90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe87c044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe87bff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe87bff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe87bff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe87c0948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005617d5c02a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005617d5c0670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005617d5c08440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005617d5bfc903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe872c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe872c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005617d5bfc945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-objc-non-nil-return-value-checker.m.script: line 1: 559165 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/test-variably-modified-types.c (1222 of 19712) ******************** TEST 'Clang :: Analysis/test-variably-modified-types.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f207d3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f207d3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f207d3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f207c454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f2085e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f2085e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f2085e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f2085e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f2085e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f2085e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f2085e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f2085e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f2085ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f2085ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f2085ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f2085ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f2085ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f2085ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f2085ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f2085ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f2085ad4e65 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 #21 0x00007f2085ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f2085ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f2085ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f2085ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f2085ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f2085ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f2085ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f2085ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f2085ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f2085ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f2085ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f2085ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f2085ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f2085ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f2085ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f2085ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f2085ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f2085ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f2085a3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f2085a3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f2085a3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f2085a3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f2085f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f2085f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f2085f86b68 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 #46 0x00007f2085a69db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007f2085a69db3 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 #48 0x00007f2085a69db3 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 #49 0x00007f2085a9d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007f2085a9d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007f2085a9d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007f2085a9d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007f2085a9d93e clang::ento::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 #54 0x00007f2085a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f2085a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f2085a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f2085a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f2085a5109a clang::ento::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 0x00007f2085d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f2085d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f2085d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f2085d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f2085d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f2085d4e0a7 llvm::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 0x00007f2085d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f2085d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f2085d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f2085d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f2085d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f2085d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f2085d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f208410724a __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 0x00007f208410724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f208410724a void clang::finalize>, 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 0x00007f208410724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f2085844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f20857f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f20857f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f20857f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f20858948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000557f5f8a2a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000557f5f8a670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000557f5f8a8440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000557f5f89c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f207c43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f207c43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000557f5f89c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-variably-modified-types.c.script: line 1: 559172 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/traversal-algorithm.mm (1224 of 19712) ******************** TEST 'Clang :: Analysis/traversal-algorithm.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f3972fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3972fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f3972fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3972054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f397ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f397ba35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f397ba35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f397ba35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f397ba35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f397ba35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f397ba35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f397ba35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f397b6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f397b6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f397b6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f397b6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f397b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f397b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f397b6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f397b6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f397b6d4e65 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 #21 0x00007f397b6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f397b6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f397b6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f397b6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f397b6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f397b6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f397b6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f397b6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f397b6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f397b6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f397b6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f397b6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f397b6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f397b6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f397b6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f397b6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f397b6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f397b6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f397b63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f397b63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f397b63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f397b63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f397bb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f397bb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f397bb86b68 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 #46 0x00007f397b66bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f397b66bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f397b66bf90 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 #49 0x00007f397b66bf90 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 #50 0x00007f397b66bf90 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 #51 0x00007f397b66bf90 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 #52 0x00007f397b66bf90 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 #53 0x00007f397b66bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f397b66bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f397b66bf90 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 #56 0x00007f397b63f21a 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:0 #57 0x00007f397b65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f397b65109a clang::ento::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 0x00007f397b94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f397b94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f397b94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f397b94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f397b94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f397b94e0a7 llvm::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 0x00007f397b94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f397b94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f397b951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f397b951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f397b951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f397b951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f397b951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f3979d0724a __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 0x00007f3979d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f3979d0724a void clang::finalize>, 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 0x00007f3979d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f397b444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f397b3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f397b3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f397b3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f397b4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055d9ec3efa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055d9ec3f370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055d9ec3f5440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055d9ec3e9903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f397203ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f397203f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055d9ec3e9945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) 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 (1225 of 19712) ******************** TEST 'Clang :: Analysis/trivial-copy-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f30001d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f30001ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f30001d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2fff254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f300886efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f300886efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f300886efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f300886efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f300886efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f300886efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f300886efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f300886efd6 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 0x00007f300889db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f300889df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f300883f9ea 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 #15 0x00007f300883fb9e 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:223:0 #16 0x00007f300885109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f300885109a clang::ento::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 0x00007f3008b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f3008b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f3008b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f3008b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f3008b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f3008b4e0a7 llvm::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 0x00007f3008b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f3008b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f3008b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f3008b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f3008b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f3008b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f3008b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f3006f0724a __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 0x00007f3006f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f3006f0724a void clang::finalize>, 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 0x00007f3006f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f3008644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f30085f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f30085f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f30085f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f30086948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055e410845a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055e41084970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055e41084b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055e41083f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f2fff23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f2fff23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055e41083f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/trivial-copy-struct.cpp.script: line 1: 559238 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/traversal-path-unification.c (1226 of 19712) ******************** TEST 'Clang :: Analysis/traversal-path-unification.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7bbb3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7bbb3ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7bbb3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7bba454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7bc3e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7bc3e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7bc3e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7bc3e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7bc3e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7bc3e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7bc3e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7bc3e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7bc3ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7bc3ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7bc3ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7bc3ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7bc3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7bc3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7bc3ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7bc3ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7bc3ad4e65 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 #21 0x00007f7bc3ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7bc3ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7bc3ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7bc3ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7bc3ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7bc3ad6cdb 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 #27 0x00007f7bc3ad64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7bc3ad64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7bc3ad64ad 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 #30 0x00007f7bc3ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7bc3ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7bc3ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7bc3ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7bc3ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7bc3ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7bc3ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7bc3ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7bc3ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7bc3a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7bc3a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7bc3a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7bc3a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7bc3f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f7bc3f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f7bc3f86b68 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 #46 0x00007f7bc3a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f7bc3a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f7bc3a6bf90 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 #49 0x00007f7bc3a6bf90 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 #50 0x00007f7bc3a6bf90 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 #51 0x00007f7bc3a6bf90 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 #52 0x00007f7bc3a6bf90 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 #53 0x00007f7bc3a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f7bc3a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f7bc3a6bf90 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 #56 0x00007f7bc3a3f21a 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:0 #57 0x00007f7bc3a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f7bc3a5109a clang::ento::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 0x00007f7bc3d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f7bc3d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f7bc3d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f7bc3d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f7bc3d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f7bc3d4e0a7 llvm::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 0x00007f7bc3d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f7bc3d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f7bc3d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f7bc3d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f7bc3d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f7bc3d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f7bc3d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f7bc210724a __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 0x00007f7bc210724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f7bc210724a void clang::finalize>, 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 0x00007f7bc210724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f7bc3844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f7bc37f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f7bc37f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f7bc37f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f7bc38948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005591e6e2ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005591e6e3070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005591e6e32440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005591e6e26903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f7bba43ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f7bba43f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005591e6e26945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) 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/trustnonnullchecker_test.mm (1227 of 19712) ******************** TEST 'Clang :: Analysis/trustnonnullchecker_test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f47303d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f47303ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f47303d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4739b10ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4738a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f4738a7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4738a7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4738a7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f4738a7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f4738a7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f4738a7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f4738a7d99e 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 0x00007f4738a3ed11 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 0x00007f4738a3fc1e 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 0x00007f4738a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f4738a5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f4738d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f4738d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f4738d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f4738d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f4738d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f4738d4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f4738d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f4738d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f4738d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f4738d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f4738d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f4738d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f4738d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f473710724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f473710724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f473710724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f473710724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f4738844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f47387f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f47387f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f47387f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f47388948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x00005589e9641a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x00005589e964570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x00005589e9647440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x00005589e963b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f4739afaf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f4739afb009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x00005589e963b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/trustnonnullchecker_test.mm.script: line 1: 559249 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1228 of 19712) ******************** TEST 'Clang :: Analysis/unary-sym-expr-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f67f2fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f67f2fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f67f2fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f67f2054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f67fb6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f67fb6ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f67fb6ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f67fb6ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f67fb6ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f67fb6ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f67fb66f34b 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 #11 0x00007f67fb66f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f67fb66f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f67fb66f34b 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:50 #14 0x00007f67fb67d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007f67fb67d731 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:0 #16 0x00007f67fb67ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007f67fb67ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007f67fb67ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007f67fb67ddf2 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 #20 0x00007f67fb63ed11 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 0x00007f67fb63fc1e 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 0x00007f67fb65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007f67fb65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007f67fb94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007f67fb94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007f67fb94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007f67fb94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007f67fb94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007f67fb94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007f67fb94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007f67fb94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007f67fb951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007f67fb951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007f67fb951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007f67fb951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007f67fb951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007f67f9d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007f67f9d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007f67f9d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007f67f9d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007f67fb444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007f67fb3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007f67fb3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007f67fb3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007f67fb4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x00005566efe61a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x00005566efe6570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x00005566efe67440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x00005566efe5b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007f67f203ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007f67f203f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x00005566efe5b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr-no-crash.c.script: line 2: 559265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1229 of 19712) ******************** TEST 'Clang :: Analysis/unary-sym-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe277fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe277fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe277fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe277054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe280a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe280a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe280a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe280a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe280a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe280a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe280a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe280a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe2806d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe2806d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe2806d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe2806d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe2806d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe2806d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe2806d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe2806d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe2806d4e65 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 #21 0x00007fe2806d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe2806d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe2806d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe2806b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe2806b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe2806b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe2806d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe2806d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe2806d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe2806e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe2806e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe2806e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe2806e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe2806e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe2806e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe2806e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe2806e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe2806e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe28063da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe28063da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe28063da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe28063da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe280b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fe280b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fe280b86b68 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 #46 0x00007fe28066bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fe28066bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fe28066bf90 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 #49 0x00007fe28066bf90 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 #50 0x00007fe28066bf90 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 #51 0x00007fe28066bf90 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 #52 0x00007fe28066bf90 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 #53 0x00007fe28066bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fe28066bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fe28066bf90 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 #56 0x00007fe28063f21a 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:0 #57 0x00007fe28065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fe28065109a clang::ento::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 0x00007fe28094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fe28094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fe28094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fe28094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fe28094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fe28094e0a7 llvm::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 0x00007fe28094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fe28094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fe280951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fe280951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fe280951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fe280951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fe280951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fe27ed0724a __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 0x00007fe27ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fe27ed0724a void clang::finalize>, 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 0x00007fe27ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fe280444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fe2803f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fe2803f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fe2803f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fe2804948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000562c93cf1a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000562c93cf570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000562c93cf7440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000562c93ceb903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fe27703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fe27703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000562c93ceb945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr.c.script: line 1: 559275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/uninit-bug-first-iteration-init.c (1230 of 19712) ******************** TEST 'Clang :: Analysis/uninit-bug-first-iteration-init.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f9d5cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9d5cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9d5cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9d5be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f9d654ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f9d654ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f9d654ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f9d654ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f9d654ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f9d654ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f9d6546f34b 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 #11 0x00007f9d6546f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f9d6546f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f9d6546f34b 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:50 #14 0x00007f9d6549db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f9d6549df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f9d6543f9ea 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 #17 0x00007f9d6543fb9e 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:223:0 #18 0x00007f9d6545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f9d6545109a clang::ento::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 0x00007f9d6574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f9d6574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f9d6574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f9d6574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f9d6574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f9d6574e0a7 llvm::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 0x00007f9d6574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f9d6574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f9d65751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f9d65751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f9d65751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f9d65751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f9d65751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f9d63b0724a __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 0x00007f9d63b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f9d63b0724a void clang::finalize>, 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 0x00007f9d63b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f9d65244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f9d651f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f9d651f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f9d651f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f9d652948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x000055a39a2eaa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x000055a39a2ee70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x000055a39a2f0440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x000055a39a2e4903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f9d5be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f9d5be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x000055a39a2e4945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-bug-first-iteration-init.c.script: line 1: 559336 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/uninit-ps-rdar6145427.m (1231 of 19712) ******************** TEST 'Clang :: Analysis/uninit-ps-rdar6145427.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007fb5783d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb5783ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb5783d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb577454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb580ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb580ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb580ace1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb580ace1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fb580ace1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fb580ace1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fb580a6f34b 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 #11 0x00007fb580a6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fb580a6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fb580a6f34b 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:50 #14 0x00007fb580a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fb580a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fb580a3f9ea 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 #17 0x00007fb580a3fb9e 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:223:0 #18 0x00007fb580a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007fb580a5109a clang::ento::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 0x00007fb580d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007fb580d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007fb580d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007fb580d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007fb580d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007fb580d4e0a7 llvm::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 0x00007fb580d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007fb580d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007fb580d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007fb580d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007fb580d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007fb580d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007fb580d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007fb57f10724a __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 0x00007fb57f10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007fb57f10724a void clang::finalize>, 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 0x00007fb57f10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007fb580844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007fb5807f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007fb5807f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007fb5807f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007fb5808948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x00005602cfe31a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x00005602cfe3570a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x00005602cfe37440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x00005602cfe2b903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007fb57743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007fb57743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x00005602cfe2b945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-ps-rdar6145427.m.script: line 1: 559365 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 (1232 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd670dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd670dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd670dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd66fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd67946efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fd67946efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fd67946efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fd67946efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fd67946efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fd67946efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fd67946efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fd67946efd6 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 0x00007fd67949db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fd67949df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fd67943f9ea 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 #15 0x00007fd67943fb9e 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:223:0 #16 0x00007fd67945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fd67945109a clang::ento::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 0x00007fd67974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fd67974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fd67974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fd67974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fd67974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fd67974e0a7 llvm::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 0x00007fd67974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fd67974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fd679751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fd679751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fd679751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fd679751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fd679751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fd677b0724a __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 0x00007fd677b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fd677b0724a void clang::finalize>, 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 0x00007fd677b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fd679244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fd6791f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fd6791f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fd6791f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fd6792948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055904c1b0a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055904c1b470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055904c1b6440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055904c1aa903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fd66fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fd66fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055904c1aa945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-array.cpp.script: line 1: 559368 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unified-sources/UnifiedSource-1.cpp (1233 of 19712) ******************** TEST 'Clang :: Analysis/unified-sources/UnifiedSource-1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f77299d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f77299ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f77299d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7733125ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7732435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7732435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7732435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7732435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7732435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7732435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7732435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7732435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f77320d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f77320d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f77320d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f77320d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f77320d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f77320d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f77320d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f77320d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f77320d4e65 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 #21 0x00007f77320d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f77320d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f77320d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f77320d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f77320d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f77320d6cdb 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 #27 0x00007f77320d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f77320d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f77320d64ad 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 #30 0x00007f77320e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f77320e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f77320e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f77320e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f77320e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f77320e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f77320e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f77320e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f77320e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f773203da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f773203da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f773203da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f773203da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7732180bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007f7732180bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007f7732180bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007f7732180bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007f7732180bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007f7732180bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007f7732180bdc 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:0 #50 0x00007f773201a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007f773201a9db 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:26 #52 0x00007f7732075663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f7732075663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f7732075663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007f7732075663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007f7732075663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007f7732075663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007f7732075663 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:44 #59 0x00007f773209d82f 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 0x00007f773209d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007f773209dc4e clang::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 0x00007f773209df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f773203fac2 clang::ento::CoreEngine::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 0x00007f773205109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f773205109a clang::ento::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 0x00007f773234c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f773234c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f773234c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f773234c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f773234c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f773234e0a7 llvm::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 0x00007f773234e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f773234e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f7732351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f7732351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f7732351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f7732351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f7732351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f773070724a __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 0x00007f773070724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f773070724a void clang::finalize>, 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 0x00007f773070724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f7731e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f7731df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f7731df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f7731df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f7731e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000055ebbe094a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000055ebbe09870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000055ebbe09a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000055ebbe08e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f773310ff50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f7733110009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000055ebbe08e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/UnifiedSource-1.cpp.script: line 1: 559317 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-exhaustive-switch-bug.c (1234 of 19712) ******************** TEST 'Clang :: Analysis/uninit-exhaustive-switch-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f1221dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1221dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1221dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1220e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f122a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f122a835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f122a835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f122a835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f122a835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f122a835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f122a835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f122a835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f122a4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f122a4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f122a4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f122a4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f122a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f122a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f122a4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f122a4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f122a4d5f52 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 #21 0x00007f122a4d5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f122a4d5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f122a4d5f52 (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:34 #24 0x00007f122a4d6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f122a4d6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f122a4d6a41 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 #27 0x00007f122a4b41c5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f122a4b41c5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f122a4b41c5 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:107:65 #30 0x00007f122a43e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f122a43e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f122a43e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f122a43e340 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:0 #34 0x00007f122a46cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f122a46cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f122a46cbca 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 #37 0x00007f122a46cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f122a43f712 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 #39 0x00007f122a45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f122a45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f122a74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f122a74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f122a74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f122a74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f122a74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f122a74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f122a74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f122a74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f122a751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f122a751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f122a751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f122a751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f122a751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f1228b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f1228b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f1228b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f1228b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f122a244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f122a1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f122a1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f122a1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f122a2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x0000562eb7060a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x0000562eb706470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x0000562eb7066440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x0000562eb705a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f1220e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f1220e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x0000562eb705a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-exhaustive-switch-bug.c.script: line 1: 559350 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-structured-binding-struct.cpp (1235 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f4475fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4475fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f4475fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4475054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f447e66efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f447e66efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f447e66efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f447e66efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f447e66efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f447e66efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f447e66efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f447e66efd6 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 0x00007f447e69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007f447e69df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007f447e63f9ea 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 #15 0x00007f447e63fb9e 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:223:0 #16 0x00007f447e65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007f447e65109a clang::ento::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 0x00007f447e94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007f447e94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007f447e94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007f447e94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007f447e94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007f447e94e0a7 llvm::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 0x00007f447e94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007f447e94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007f447e951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007f447e951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007f447e951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007f447e951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007f447e951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007f447cd0724a __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 0x00007f447cd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007f447cd0724a void clang::finalize>, 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 0x00007f447cd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007f447e444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007f447e3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007f447e3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007f447e3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007f447e4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x00005578f9adda94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x00005578f9ae170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x00005578f9ae3440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x00005578f9ad7903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007f447503ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007f447503f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x00005578f9ad7945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-struct.cpp.script: line 1: 559382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/undef-buffers.c (1240 of 19712) ******************** TEST 'Clang :: Analysis/undef-buffers.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7e4b9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7e4b9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7e4b9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7e4aa54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7e54414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7e54414a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7e54414a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7e54414a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7e54414a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7e54414a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7e54414a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7e54414a5e (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 0x00007f7e541e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f7e541e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f7e541e8fd5 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 0x00007f7e5402397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f7e5402397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f7e5402397a 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:29 #18 0x00007f7e5402397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f7e540e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f7e540e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f7e540e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f7e540e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f7e540e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f7e540e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f7e540e9060 clang::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 0x00007f7e5403db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f7e5403db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f7e5403db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f7e5403db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f7e54586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f7e54586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f7e54586b68 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 0x00007f7e54215ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f7e54215ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f7e54215ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f7e54215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f7e54215ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f7e54215ff0 (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 0x00007f7e5421647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f7e5421647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f7e5421647b (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 0x00007f7e5421851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f7e5421851b 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 0x00007f7e5402561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f7e5402561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f7e5402561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f7e5402561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f7e5402561d 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:26 #49 0x00007f7e5407ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f7e5407ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f7e5407ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f7e5407ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f7e5407ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f7e5407ecbc 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:0 #55 0x00007f7e5407f767 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:0 #56 0x00007f7e5409c6f1 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 0x00007f7e5409c6f1 clang::ento::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 0x00007f7e5409dc4e clang::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 0x00007f7e5409df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7e5403fac2 clang::ento::CoreEngine::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 0x00007f7e5405109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f7e5405109a clang::ento::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 0x00007f7e5434c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f7e5434c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f7e5434c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f7e5434c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f7e5434c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f7e5434e0a7 llvm::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 0x00007f7e5434e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f7e5434e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f7e54351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f7e54351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f7e54351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f7e54351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f7e54351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f7e5270724a __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 0x00007f7e5270724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x00007f7e5270724a void clang::finalize>, 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 0x00007f7e5270724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x00007f7e53e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x00007f7e53df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x00007f7e53df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x00007f7e53df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x00007f7e53e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000055dbdae15a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000055dbdae1970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000055dbdae1b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000055dbdae0f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x00007f7e4aa3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #90 0x00007f7e4aa3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #91 0x000055dbdae0f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/undef-buffers.c.script: line 1: 559303 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/uninit-const.cpp (1243 of 19712) ******************** TEST 'Clang :: Analysis/uninit-const.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe2e3dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe2e3dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe2e3dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe2e2e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe2ec835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe2ec835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe2ec835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe2ec835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe2ec835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe2ec835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe2ec835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe2ec835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe2ec4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe2ec4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe2ec4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe2ec4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe2ec4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe2ec4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe2ec4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe2ec4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe2ec4d4e65 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 #21 0x00007fe2ec4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe2ec4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe2ec4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe2ec4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe2ec4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe2ec4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe2ec4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe2ec4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe2ec4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe2ec4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe2ec4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe2ec4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe2ec4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe2ec4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe2ec4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe2ec4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe2ec4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe2ec4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe2ec43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe2ec43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe2ec43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe2ec43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe2ec43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fe2ec43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fe2ec43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fe2ec497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fe2ec497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fe2ec497620 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 #49 0x00007fe2ec497620 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 #50 0x00007fe2ec4977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007fe2ec4977b2 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 0x00007fe2ec49dfaf clang::ento::ExprEngine::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 0x00007fe2ec43fac2 clang::ento::CoreEngine::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 0x00007fe2ec45109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x00007fe2ec45109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #56 0x00007fe2ec74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x00007fe2ec74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x00007fe2ec74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x00007fe2ec74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x00007fe2ec74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x00007fe2ec74e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #62 0x00007fe2ec74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x00007fe2ec74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x00007fe2ec751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x00007fe2ec751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x00007fe2ec751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x00007fe2ec751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x00007fe2ec751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x00007fe2eab0724a __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 0x00007fe2eab0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x00007fe2eab0724a void clang::finalize>, 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 0x00007fe2eab0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x00007fe2ec244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x00007fe2ec1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x00007fe2ec1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x00007fe2ec1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x00007fe2ec2948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000055fa933b4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000055fa933b870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000055fa933ba440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000055fa933ae903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x00007fe2e2e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #83 0x00007fe2e2e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #84 0x000055fa933ae945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.cpp.script: line 2: 559347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unified-sources/source1.cpp (1244 of 19712) ******************** TEST 'Clang :: Analysis/unified-sources/source1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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 0x00007f46637d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f46637ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f46637d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4662854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f466c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f466c235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f466c235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f466c235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f466c235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f466c235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f466c235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f466c235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f466bed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f466bed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f466bed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f466bed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f466bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f466bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f466bed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f466bed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f466bed4e65 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 #21 0x00007f466bed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f466bed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f466bed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f466bed6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f466bed6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f466bed6cdb 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 #27 0x00007f466bed64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f466bed64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f466bed64ad 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 #30 0x00007f466bee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f466bee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f466bee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f466bee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f466bee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f466bee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f466bee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f466bee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f466bee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f466be3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f466be3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f466be3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f466be3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f466bf80bdc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x00007f466bf80bdc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x00007f466bf80bdc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x00007f466bf80bdc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x00007f466bf80bdc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x00007f466bf80bdc checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x00007f466bf80bdc 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:0 #50 0x00007f466be1a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x00007f466be1a9db 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:26 #52 0x00007f466be75663 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x00007f466be75663 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x00007f466be75663 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x00007f466be75663 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x00007f466be75663 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x00007f466be75663 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x00007f466be75663 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:44 #59 0x00007f466be9d82f 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 0x00007f466be9d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #61 0x00007f466be9dc4e clang::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 0x00007f466be9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f466be3fac2 clang::ento::CoreEngine::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 0x00007f466be5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x00007f466be5109a clang::ento::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 0x00007f466c14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x00007f466c14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x00007f466c14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x00007f466c14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x00007f466c14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x00007f466c14e0a7 llvm::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 0x00007f466c14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x00007f466c14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x00007f466c151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x00007f466c151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x00007f466c151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x00007f466c151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x00007f466c151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x00007f466a50724a __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 0x00007f466a50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x00007f466a50724a void clang::finalize>, 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 0x00007f466a50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x00007f466bc44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x00007f466bbf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x00007f466bbf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x00007f466bbf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x00007f466bc948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000056064af35a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000056064af3970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000056064af3b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000056064af2f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x00007f466283ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #93 0x00007f466283f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #94 0x000056064af2f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/source1.cpp.script: line 1: 559319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/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-vals.cpp (1247 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa5643d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa5643ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa5643d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa563454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa56ca6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fa56ca6efd6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fa56ca6efd6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fa56ca6efd6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fa56ca6efd6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fa56ca6efd6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fa56ca6efd6 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fa56ca6efd6 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 0x00007fa56ca9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #13 0x00007fa56ca9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #14 0x00007fa56ca3f9ea 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 #15 0x00007fa56ca3fb9e 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:223:0 #16 0x00007fa56ca5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x00007fa56ca5109a clang::ento::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 0x00007fa56cd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x00007fa56cd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x00007fa56cd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x00007fa56cd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x00007fa56cd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x00007fa56cd4e0a7 llvm::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 0x00007fa56cd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x00007fa56cd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x00007fa56cd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x00007fa56cd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x00007fa56cd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x00007fa56cd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x00007fa56cd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x00007fa56b10724a __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 0x00007fa56b10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x00007fa56b10724a void clang::finalize>, 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 0x00007fa56b10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x00007fa56c844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x00007fa56c7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x00007fa56c7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x00007fa56c7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x00007fa56c8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000055a12a33ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000055a12a34070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000055a12a342440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000055a12a336903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x00007fa56343ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #45 0x00007fa56343f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #46 0x000055a12a336945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.cpp.script: line 2: 559411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-structured-binding-tuple.cpp (1250 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-tuple.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7389fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7389fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7389fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7389054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f739266f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f739266f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f739266f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f739266f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f739266f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f739266f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f739266f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f739266f83e 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 0x00007f73926725b9 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 0x00007f73926725b9 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x00007f73926725b9 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x00007f73926725b9 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 #16 0x00007f73926727ab llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x00007f73926727ab llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x00007f73926727ab 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 #19 0x00007f7392699d0e 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 #20 0x00007f739269c69e 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 #21 0x00007f739269c69e clang::ento::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 #22 0x00007f739269dc4e clang::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 0x00007f739269df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f739263fac2 clang::ento::CoreEngine::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 0x00007f739265109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x00007f739265109a clang::ento::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 0x00007f739294c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x00007f739294c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x00007f739294c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x00007f739294c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x00007f739294c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x00007f739294e0a7 llvm::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 0x00007f739294e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x00007f739294e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x00007f7392951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x00007f7392951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x00007f7392951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x00007f7392951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x00007f7392951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x00007f7390d0724a __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 0x00007f7390d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x00007f7390d0724a void clang::finalize>, 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 0x00007f7390d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x00007f7392444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x00007f73923f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x00007f73923f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x00007f73923f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x00007f73924948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x0000557ea84dca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000557ea84e070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000557ea84e2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000557ea84d6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x00007f738903ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #54 0x00007f738903f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #55 0x0000557ea84d6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-tuple.cpp.script: line 1: 559384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-const.c (1257 of 19712) ******************** TEST 'Clang :: Analysis/uninit-const.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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:174:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:174:3: Error evaluating statement #0 0x00007f60bcbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f60bcbceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f60bcbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f60bbc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f60c5614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f60c5614a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f60c5614a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f60c5614a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f60c5614a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f60c5614a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f60c5614a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f60c5614a5e (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 0x00007f60c53e8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f60c53e8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f60c53e8fd5 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 0x00007f60c522397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f60c522397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f60c522397a 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:29 #18 0x00007f60c522397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f60c52e8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f60c52e8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f60c52e8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f60c52e8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f60c52e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f60c52e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f60c52e9060 clang::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 0x00007f60c523da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f60c523da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f60c523da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f60c523da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f60c5786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f60c5786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f60c5786b68 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 0x00007f60c537f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #34 0x00007f60c537f794 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:0 #35 0x00007f60c537f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #36 0x00007f60c537f794 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:0 #37 0x00007f60c521b7ad 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:5 #38 0x00007f60c5268471 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 0x00007f60c5268471 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 0x00007f60c526e9d7 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 0x00007f60c526e9d7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x00007f60c526e9d7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x00007f60c526e9d7 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 #44 0x00007f60c52762c7 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x00007f60c52762c7 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f60c52762c7 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:51 #47 0x00007f60c529d82f 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 #48 0x00007f60c529d82f clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2105:0 #49 0x00007f60c529dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x00007f60c529df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x00007f60c523fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x00007f60c525109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x00007f60c525109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x00007f60c554c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x00007f60c554c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x00007f60c554c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x00007f60c554c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x00007f60c554c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x00007f60c554e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x00007f60c554e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x00007f60c554e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x00007f60c5551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x00007f60c5551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x00007f60c5551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x00007f60c5551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x00007f60c5551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x00007f60c390724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x00007f60c390724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x00007f60c390724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x00007f60c390724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x00007f60c5044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x00007f60c4ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x00007f60c4ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x00007f60c4ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x00007f60c50948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x00005580fd072a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x00005580fd07670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x00005580fd078440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x00005580fd06c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x00007f60bbc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #81 0x00007f60bbc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #82 0x00005580fd06c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.c.script: line 1: 559335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unions.cpp (1258 of 19712) ******************** TEST 'Clang :: Analysis/unions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007ff2765d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff2765ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff2765d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff275654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff27ec7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007ff27ec7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007ff27ec7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007ff27ec7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007ff27ec7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007ff27ec7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007ff27ec7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007ff27ec7d99e 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 0x00007ff27ec3ed11 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 0x00007ff27ec3fc1e 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 0x00007ff27ec5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007ff27ec5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007ff27ef4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007ff27ef4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007ff27ef4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007ff27ef4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007ff27ef4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007ff27ef4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007ff27ef4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007ff27ef4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007ff27ef51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007ff27ef51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007ff27ef51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007ff27ef51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007ff27ef51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007ff27d30724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007ff27d30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007ff27d30724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007ff27d30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007ff27ea44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007ff27e9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007ff27e9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007ff27e9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007ff27ea948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000055a4a3436a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000055a4a343a70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000055a4a343c440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000055a4a3430903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007ff27563ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007ff27563f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x000055a4a3430945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions.cpp.script: line 1: 559437 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/uninit-vals.m (1259 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f05855d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f05855ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f05855d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f058ed11ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f058dcc6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007f058dcc6be6 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f058dcc6be6 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f058dcc6be6 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f058dcc6be6 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f058dcc6be6 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f058dcc6be6 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007f058dcc6be6 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x00007f058dcc6be6 (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 0x00007f058dcc7048 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 #14 0x00007f058dcc7048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x00007f058dcc7048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x00007f058dcc7048 (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 #17 0x00007f058dcdcefe llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x00007f058dcdcefe llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x00007f058dcdcefe 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 #20 0x00007f058dc69a74 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 #21 0x00007f058dc77a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #22 0x00007f058dc77a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f058dc77a6a 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:15 #24 0x00007f058dc9bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #25 0x00007f058dc9bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #26 0x00007f058dc9bf62 clang::ento::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 #27 0x00007f058dc9dc4e clang::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 0x00007f058dc9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f058dc3fac2 clang::ento::CoreEngine::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 0x00007f058dc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #31 0x00007f058dc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #32 0x00007f058df4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x00007f058df4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x00007f058df4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #35 0x00007f058df4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #36 0x00007f058df4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #37 0x00007f058df4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #38 0x00007f058df4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #39 0x00007f058df4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #40 0x00007f058df51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x00007f058df51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x00007f058df51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #43 0x00007f058df51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #44 0x00007f058df51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #45 0x00007f058c30724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #46 0x00007f058c30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #47 0x00007f058c30724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #48 0x00007f058c30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #49 0x00007f058da44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #50 0x00007f058d9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #51 0x00007f058d9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #52 0x00007f058d9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #53 0x00007f058da948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #54 0x00005638cfec4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #55 0x00005638cfec870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #56 0x00005638cfeca440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #57 0x00005638cfebe903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #58 0x00007f058ecfbf50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #59 0x00007f058ecfc009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #60 0x00005638cfebe945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.m.script: line 1: 559419 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unions-region.m (1263 of 19712) ******************** TEST 'Clang :: Analysis/unions-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f5ac83d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5ac83ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f5ac83d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5ac7454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5ad0e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5ad0e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5ad0e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5ad0e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5ad0e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5ad0e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5ad0e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5ad0e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5ad0ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5ad0ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5ad0ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5ad0ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5ad0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5ad0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5ad0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5ad0ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5ad0ad4e65 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 #21 0x00007f5ad0ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5ad0ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5ad0ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5ad0ad6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5ad0ad6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5ad0ad6cdb 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 #27 0x00007f5ad0ad64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5ad0ad64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5ad0ad64ad 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 #30 0x00007f5ad0ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5ad0ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5ad0ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5ad0ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5ad0ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5ad0ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5ad0ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5ad0ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5ad0ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5ad0a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5ad0a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5ad0a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5ad0a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5ad0f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f5ad0f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f5ad0f86b68 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 #46 0x00007f5ad0a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f5ad0a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f5ad0a6bf90 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 #49 0x00007f5ad0a6bf90 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 #50 0x00007f5ad0a6bf90 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 #51 0x00007f5ad0a6bf90 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 #52 0x00007f5ad0a6bf90 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 #53 0x00007f5ad0a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f5ad0a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f5ad0a6bf90 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 #56 0x00007f5ad0a3f21a 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:0 #57 0x00007f5ad0a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f5ad0a5109a clang::ento::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 0x00007f5ad0d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f5ad0d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f5ad0d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f5ad0d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f5ad0d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f5ad0d4e0a7 llvm::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 0x00007f5ad0d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f5ad0d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f5ad0d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f5ad0d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f5ad0d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f5ad0d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f5ad0d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f5acf10724a __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 0x00007f5acf10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f5acf10724a void clang::finalize>, 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 0x00007f5acf10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f5ad0844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f5ad07f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f5ad07f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f5ad07f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f5ad08948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000560feb9f8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000560feb9fc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000560feb9fe440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000560feb9f2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f5ac743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f5ac743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000560feb9f2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions-region.m.script: line 1: 559426 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/uninit-vals.c (1264 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f61319d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f61319ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f61319d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f6130a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f613a435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f613a435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f613a435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f613a435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f613a435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f613a435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f613a435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f613a435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f613a0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f613a0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f613a0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f613a0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f613a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f613a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f613a0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f613a0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f613a0d4e65 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 #21 0x00007f613a0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f613a0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f613a0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f613a0d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f613a0d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f613a0d6cdb 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 #27 0x00007f613a0d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f613a0d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f613a0d64ad 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 #30 0x00007f613a0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f613a0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f613a0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f613a0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f613a0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f613a0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f613a0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f613a0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f613a0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f613a03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f613a03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f613a03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f613a03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f613a586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f613a586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f613a586b68 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 #46 0x00007f613a06bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f613a06bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f613a06bf90 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 #49 0x00007f613a06bf90 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 #50 0x00007f613a06bf90 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 #51 0x00007f613a06bf90 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 #52 0x00007f613a06bf90 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 #53 0x00007f613a06bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f613a06bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f613a06bf90 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 #56 0x00007f613a03f21a 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:0 #57 0x00007f613a05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f613a05109a clang::ento::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 0x00007f613a34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f613a34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f613a34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f613a34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f613a34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f613a34e0a7 llvm::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 0x00007f613a34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f613a34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f613a351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f613a351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f613a351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f613a351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f613a351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f613870724a __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 0x00007f613870724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f613870724a void clang::finalize>, 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 0x00007f613870724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f6139e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f6139df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f6139df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f6139df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f6139e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x00005611bd515a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x00005611bd51970a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x00005611bd51b440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x00005611bd50f903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f6130a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f6130a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x00005611bd50f945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.c.script: line 1: 559407 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/uninit-val-const-likeness.c (1266 of 19712) ******************** TEST 'Clang :: Analysis/uninit-val-const-likeness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fab98bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fab98bceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fab98bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fab97c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007faba1635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007faba1635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007faba1635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007faba1635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007faba1635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007faba1635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007faba1635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007faba1635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007faba12d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007faba12d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007faba12d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007faba12d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007faba12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007faba12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007faba12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007faba12d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007faba12d4e65 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 #21 0x00007faba12d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007faba12d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007faba12d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007faba12b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007faba12b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007faba12b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007faba12d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007faba12d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007faba12d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007faba12e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007faba12e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007faba12e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007faba12e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007faba12e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007faba12e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007faba12e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007faba12e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007faba12e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007faba123da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007faba123da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007faba123da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007faba123da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007faba1786b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007faba1786b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007faba1786b68 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 #46 0x00007faba137f794 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x00007faba137f794 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:0 #48 0x00007faba137f794 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x00007faba137f794 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:0 #50 0x00007faba121b7ad 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:5 #51 0x00007faba1268471 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 #52 0x00007faba1268471 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 #53 0x00007faba1269840 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 #54 0x00007faba1269840 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x00007faba1269840 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x00007faba1269840 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 #57 0x00007faba1277a6a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #58 0x00007faba1277a6a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x00007faba1277a6a 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:15 #60 0x00007faba129bf62 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x00007faba129bf62 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x00007faba129bf62 clang::ento::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 #63 0x00007faba129dc4e clang::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 0x00007faba129df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007faba123fac2 clang::ento::CoreEngine::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 0x00007faba125109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x00007faba125109a clang::ento::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 0x00007faba154c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x00007faba154c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x00007faba154c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x00007faba154c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x00007faba154c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x00007faba154e0a7 llvm::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 0x00007faba154e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x00007faba154e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x00007faba1551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x00007faba1551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x00007faba1551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x00007faba1551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x00007faba1551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x00007fab9f90724a __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 0x00007fab9f90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x00007fab9f90724a void clang::finalize>, 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 0x00007fab9f90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x00007faba1044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x00007faba0ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x00007faba0ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x00007faba0ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x00007faba10948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x0000563db29aca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000563db29b070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000563db29b2440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000563db29a6903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x00007fab97c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007fab97c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x0000563db29a6945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-val-const-likeness.c.script: line 1: 559399 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unix-api.c (1280 of 19712) ******************** TEST 'Clang :: Analysis/unix-api.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fb3867d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb3867ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fb3867d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb385854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb38eece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fb38eece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fb38eece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fb38eece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fb38eece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fb38eece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fb38ee6f34b 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 #11 0x00007fb38ee6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fb38ee6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fb38ee6f34b 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:50 #14 0x00007fb38ee7d731 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:0 #15 0x00007fb38ee7d731 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:0 #16 0x00007fb38ee7ddf2 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x00007fb38ee7ddf2 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x00007fb38ee7ddf2 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x00007fb38ee7ddf2 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 #20 0x00007fb38ee3ed11 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 0x00007fb38ee3fc1e 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 0x00007fb38ee5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x00007fb38ee5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x00007fb38f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x00007fb38f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x00007fb38f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x00007fb38f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x00007fb38f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x00007fb38f14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x00007fb38f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x00007fb38f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x00007fb38f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x00007fb38f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x00007fb38f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x00007fb38f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x00007fb38f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x00007fb38d50724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x00007fb38d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x00007fb38d50724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x00007fb38d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x00007fb38ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x00007fb38ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x00007fb38ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x00007fb38ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x00007fb38ec948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000055f206670a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000055f20667470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000055f206676440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000055f20666a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x00007fb38583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #51 0x00007fb38583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #52 0x000055f20666a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.c.script: line 1: 559452 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1282 of 19712) ******************** TEST 'Clang :: Analysis/unix-api.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f70327d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f70327ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f70327d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7031854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f703ae7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f703ae7d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f703ae7d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f703ae7d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f703ae7d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f703ae7d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f703ae7d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f703ae7d99e 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 0x00007f703ae3ed11 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 0x00007f703ae3fc1e 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 0x00007f703ae5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007f703ae5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007f703b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007f703b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007f703b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007f703b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007f703b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007f703b14e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007f703b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007f703b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007f703b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007f703b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007f703b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007f703b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007f703b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007f703950724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007f703950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007f703950724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007f703950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007f703ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007f703abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007f703abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007f703abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007f703ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000562825d2da94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000562825d3170a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000562825d33440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000562825d27903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007f703183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007f703183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000562825d27945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.cpp.script: line 1: 559460 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unreachable-code-path.c (1292 of 19712) ******************** TEST 'Clang :: Analysis/unreachable-code-path.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f8d545d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f8d545ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f8d545d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8d53654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f8d5d035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f8d5d035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f8d5d035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f8d5d035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f8d5d035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f8d5d035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f8d5d035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f8d5d035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f8d5ccd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f8d5ccd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f8d5ccd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f8d5ccd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f8d5ccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f8d5ccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f8d5ccd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f8d5ccd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f8d5ccd5f52 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 #21 0x00007f8d5ccd5f52 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f8d5ccd5f52 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f8d5ccd5f52 (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:34 #24 0x00007f8d5ccd6a41 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f8d5ccd6a41 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f8d5ccd6a41 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 #27 0x00007f8d5ccb415f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f8d5ccb415f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f8d5ccb415f 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 #30 0x00007f8d5cc3e340 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f8d5cc3e340 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f8d5cc3e340 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x00007f8d5cc3e340 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:0 #34 0x00007f8d5cc6cbca llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x00007f8d5cc6cbca llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x00007f8d5cc6cbca 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 #37 0x00007f8d5cc6cbca clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #38 0x00007f8d5cc3f712 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 #39 0x00007f8d5cc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x00007f8d5cc5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x00007f8d5cf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x00007f8d5cf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x00007f8d5cf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x00007f8d5cf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x00007f8d5cf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x00007f8d5cf4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x00007f8d5cf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x00007f8d5cf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x00007f8d5cf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x00007f8d5cf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x00007f8d5cf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x00007f8d5cf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x00007f8d5cf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x00007f8d5b30724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x00007f8d5b30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x00007f8d5b30724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x00007f8d5b30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x00007f8d5ca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x00007f8d5c9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x00007f8d5c9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x00007f8d5c9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x00007f8d5ca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000055a9991d4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000055a9991d870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000055a9991da440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000055a9991ce903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x00007f8d5363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #68 0x00007f8d5363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #69 0x000055a9991ce945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unreachable-code-path.c.script: line 1: 559474 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/unix-fns.c (1297 of 19712) ******************** TEST 'Clang :: Analysis/unix-fns.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007ff9e93d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff9e93ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007ff9e93d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff9e8454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff9f1e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff9f1e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff9f1e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff9f1e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff9f1e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff9f1e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff9f1e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff9f1e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff9f1ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff9f1ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff9f1ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff9f1ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff9f1ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff9f1ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff9f1ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff9f1ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff9f1ad4e65 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 #21 0x00007ff9f1ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff9f1ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff9f1ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff9f1ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff9f1ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff9f1ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff9f1ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff9f1ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff9f1ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff9f1ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff9f1ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff9f1ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff9f1ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff9f1ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff9f1ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff9f1ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff9f1ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff9f1ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff9f1a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff9f1a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff9f1a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff9f1a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff9f1f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007ff9f1f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007ff9f1f86b68 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 #46 0x00007ff9f1a6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007ff9f1a6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007ff9f1a6bf90 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 #49 0x00007ff9f1a6bf90 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 #50 0x00007ff9f1a6bf90 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 #51 0x00007ff9f1a6bf90 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 #52 0x00007ff9f1a6bf90 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 #53 0x00007ff9f1a6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007ff9f1a6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007ff9f1a6bf90 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 #56 0x00007ff9f1a3f21a 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:0 #57 0x00007ff9f1a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007ff9f1a5109a clang::ento::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 0x00007ff9f1d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007ff9f1d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007ff9f1d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007ff9f1d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007ff9f1d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007ff9f1d4e0a7 llvm::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 0x00007ff9f1d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007ff9f1d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007ff9f1d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007ff9f1d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007ff9f1d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007ff9f1d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007ff9f1d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007ff9f010724a __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 0x00007ff9f010724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007ff9f010724a void clang::finalize>, 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 0x00007ff9f010724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007ff9f1844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007ff9f17f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007ff9f17f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007ff9f17f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007ff9f18948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055954a310a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055954a31470a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055954a316440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055954a30a903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007ff9e843ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007ff9e843f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055954a30a945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.script: line 5: 559465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized.c (1300 of 19712) ******************** TEST 'Clang :: Analysis/valist-uninitialized.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fe160fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe160fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fe160fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe160054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe16990212b llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe16990212b llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe16990212b llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe16990212b llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe16990212b llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007fe16990212b 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 0x00007fe16990212b get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe16990212b (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:0 #12 0x00007fe16961bfa7 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 0x00007fe16966f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007fe16966f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007fe16966f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007fe16966f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007fe16966f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007fe16966f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007fe16966f23c 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 0x00007fe16969db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007fe16969df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fe16963fac2 clang::ento::CoreEngine::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 0x00007fe16965109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007fe16965109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007fe16994c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007fe16994c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007fe16994c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007fe16994c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007fe16994c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007fe16994e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007fe16994e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007fe16994e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007fe169951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007fe169951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007fe169951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007fe169951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007fe169951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007fe167d0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007fe167d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007fe167d0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007fe167d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007fe169444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007fe1693f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007fe1693f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007fe1693f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007fe1694948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000055c183a62a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000055c183a6670a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000055c183a68440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000055c183a5c903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007fe16003ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007fe16003f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x000055c183a5c945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized.c.script: line 3: 559517 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-as-lazycompound.c (1301 of 19712) ******************** TEST 'Clang :: Analysis/valist-as-lazycompound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f644edd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f644edceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f644edd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f644de54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f645770212b llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f645770212b llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f645770212b llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f645770212b llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f645770212b llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007f645770212b 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 0x00007f645770212b get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f645770212b (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:0 #12 0x00007f645741bfa7 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 0x00007f645746f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f645746f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f645746f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f645746f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f645746f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f645746f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f645746f23c 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 0x00007f645749db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f645749df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f645743fac2 clang::ento::CoreEngine::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 0x00007f645745109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f645745109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f645774c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f645774c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f645774c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f645774c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f645774c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f645774e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f645774e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f645774e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f6457751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f6457751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f6457751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f6457751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f6457751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f6455b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f6455b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f6455b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f6455b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f6457244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f64571f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f64571f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f64571f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f64572948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000557d93298a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x0000557d9329c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000557d9329e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x0000557d93292903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f644de3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f644de3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x0000557d93292945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-as-lazycompound.c.script: line 1: 559510 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/valist-uninitialized-no-undef.c (1312 of 19712) ******************** TEST 'Clang :: Analysis/valist-uninitialized-no-undef.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f77d33d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f77d33ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f77d33d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f77d2454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f77dbd0212b llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f77dbd0212b llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f77dbd0212b llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f77dbd0212b llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f77dbd0212b llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007f77dbd0212b 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 0x00007f77dbd0212b get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f77dbd0212b (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:0 #12 0x00007f77dba1bfa7 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 0x00007f77dba6f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f77dba6f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f77dba6f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f77dba6f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f77dba6f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f77dba6f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f77dba6f23c 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 0x00007f77dba9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f77dba9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f77dba3fac2 clang::ento::CoreEngine::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 0x00007f77dba5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f77dba5109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f77dbd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f77dbd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f77dbd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f77dbd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f77dbd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f77dbd4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f77dbd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f77dbd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f77dbd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f77dbd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f77dbd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f77dbd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f77dbd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f77da10724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f77da10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f77da10724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f77da10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f77db844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f77db7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f77db7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f77db7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f77db8948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x00005634a0ea4a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x00005634a0ea870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x00005634a0eaa440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x00005634a0e9e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f77d243ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f77d243f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x00005634a0e9e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized-no-undef.c.script: line 1: 559515 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-unterminated.c (1317 of 19712) ******************** TEST 'Clang :: Analysis/valist-unterminated.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f7e559d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7e559ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f7e559d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7e54a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7e5e30212b llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7e5e30212b llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7e5e30212b llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7e5e30212b llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7e5e30212b llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x00007f7e5e30212b 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 0x00007f7e5e30212b get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7e5e30212b (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:0 #12 0x00007f7e5e01bfa7 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 0x00007f7e5e06f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f7e5e06f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f7e5e06f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f7e5e06f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f7e5e06f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f7e5e06f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f7e5e06f23c 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 0x00007f7e5e09db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f7e5e09df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f7e5e03fac2 clang::ento::CoreEngine::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 0x00007f7e5e05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f7e5e05109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f7e5e34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f7e5e34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f7e5e34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f7e5e34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f7e5e34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f7e5e34e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f7e5e34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f7e5e34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f7e5e351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f7e5e351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f7e5e351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f7e5e351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f7e5e351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f7e5c70724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x00007f7e5c70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x00007f7e5c70724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x00007f7e5c70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x00007f7e5de44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x00007f7e5ddf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x00007f7e5ddf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x00007f7e5ddf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x00007f7e5de948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x0000564131d79a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x0000564131d7d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x0000564131d7f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x0000564131d73903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x00007f7e54a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #52 0x00007f7e54a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #53 0x0000564131d73945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-unterminated.c.script: line 2: 559529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/use-after-move.cpp (1318 of 19712) ******************** TEST 'Clang :: Analysis/use-after-move.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f76db5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f76db5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f76db5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f76da654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f76e4035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f76e4035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f76e4035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f76e4035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f76e4035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f76e4035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f76e4035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f76e4035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f76e3cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f76e3cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f76e3cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f76e3cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f76e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f76e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f76e3cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f76e3cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f76e3cd4e65 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 #21 0x00007f76e3cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f76e3cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f76e3cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f76e3cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f76e3cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f76e3cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f76e3cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f76e3cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f76e3cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f76e3ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f76e3ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f76e3ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f76e3ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f76e3ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f76e3ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f76e3ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f76e3ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f76e3ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f76e3c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f76e3c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f76e3c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f76e3c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f76e3c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f76e3c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f76e3c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f76e3c0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f76e3c0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f76e3c0953e 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 #49 0x00007f76e3c50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f76e3c50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f76e3c50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f76e3c5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f76e3c5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f76e3c5149e 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 #55 0x00007f76e3f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f76e3f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f76e3f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f76e3f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f76e3f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f76e3f4e0a7 llvm::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 0x00007f76e3f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f76e3f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f76e3f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f76e3f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f76e3f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f76e3f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f76e3f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f76e230724a __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 0x00007f76e230724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f76e230724a void clang::finalize>, 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 0x00007f76e230724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f76e3a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f76e39f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f76e39f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f76e39f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f76e3a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000056455695ba94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000056455695f70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000564556961440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000564556955903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f76da63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f76da63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000564556955945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/use-after-move.cpp.script: line 8: 559514 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/variadic-method-types.m (1371 of 19712) ******************** TEST 'Clang :: Analysis/variadic-method-types.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f55b83d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f55b83ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f55b83d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f55b7454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f55c0e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f55c0e35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f55c0e35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f55c0e35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f55c0e35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f55c0e35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f55c0e35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f55c0e35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f55c0ad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f55c0ad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f55c0ad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f55c0ad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f55c0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f55c0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f55c0ad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f55c0ad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f55c0ad4e65 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 #21 0x00007f55c0ad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f55c0ad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f55c0ad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f55c0ab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f55c0ab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f55c0ab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f55c0ad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f55c0ad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f55c0ad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f55c0ae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f55c0ae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f55c0ae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f55c0ae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f55c0ae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f55c0ae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f55c0ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f55c0ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f55c0ae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f55c0a3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f55c0a3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f55c0a3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f55c0a3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f55c0f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f55c0f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f55c0f86b68 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 #46 0x00007f55c0a9808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f55c0a9808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f55c0a9808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f55c0a9808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f55c0a9808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f55c0a9808c 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 #52 0x00007f55c0a9bfee 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 #53 0x00007f55c0a9bfee clang::ento::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 #54 0x00007f55c0a9dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f55c0a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f55c0a3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f55c0a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f55c0a5109a clang::ento::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 0x00007f55c0d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f55c0d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f55c0d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f55c0d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f55c0d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f55c0d4e0a7 llvm::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 0x00007f55c0d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f55c0d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f55c0d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f55c0d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f55c0d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f55c0d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f55c0d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f55bf10724a __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 0x00007f55bf10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f55bf10724a void clang::finalize>, 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 0x00007f55bf10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f55c0844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f55c07f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f55c07f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f55c07f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f55c08948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055be40247a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055be4024b70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055be4024d440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055be40241903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f55b743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f55b743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055be40241945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/variadic-method-types.m.script: line 1: 559538 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1391 of 19712) ******************** TEST 'Clang :: Analysis/vector.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f89629d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f89629ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f89629d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f8961a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f896b435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f896b435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f896b435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f896b435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f896b435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f896b435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f896b435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f896b435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f896b0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f896b0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f896b0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f896b0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f896b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f896b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f896b0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f896b0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f896b0d4e65 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 #21 0x00007f896b0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f896b0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f896b0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f896b0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f896b0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f896b0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f896b0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f896b0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f896b0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f896b0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f896b0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f896b0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f896b0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f896b0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f896b0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f896b0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f896b0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f896b0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f896b03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f896b03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f896b03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f896b03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f896b586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f896b586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f896b586b68 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 #46 0x00007f896b09808c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f896b09808c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f896b09808c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f896b09808c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f896b09808c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f896b09808c 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 #52 0x00007f896b09bfee 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 #53 0x00007f896b09bfee clang::ento::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 #54 0x00007f896b09dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007f896b09df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007f896b03fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007f896b05109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f896b05109a clang::ento::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 0x00007f896b34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f896b34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f896b34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f896b34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f896b34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f896b34e0a7 llvm::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 0x00007f896b34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f896b34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f896b351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f896b351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f896b351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f896b351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f896b351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f896970724a __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 0x00007f896970724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f896970724a void clang::finalize>, 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 0x00007f896970724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f896ae44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f896adf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f896adf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f896adf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f896ae948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x0000560c7abe3a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000560c7abe770a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000560c7abe9440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000560c7abdd903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f8961a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f8961a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x0000560c7abdd945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/vector.m.script: line 1: 559550 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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-fixits.cpp (1412 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall-fixits.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f6d2fdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x00007f6d2fdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-plist.cpp (1435 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall-plist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007f29ae5d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f29ae5ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f29ae5d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f29ad654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f29b7035406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f29b7035406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f29b7035406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f29b7035406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f29b7035406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f29b7035406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f29b7035406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f29b7035406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f29b6cd408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f29b6cd408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f29b6cd408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f29b6cd408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f29b6cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f29b6cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f29b6cd408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f29b6cd408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f29b6cd4e65 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 #21 0x00007f29b6cd4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f29b6cd4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f29b6cd4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f29b6cb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f29b6cb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f29b6cb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f29b6cd643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f29b6cd643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f29b6cd643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f29b6ce8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f29b6ce8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f29b6ce8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f29b6ce8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f29b6ce8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f29b6ce8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f29b6ce9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f29b6ce9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f29b6ce9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f29b6c3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f29b6c3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f29b6c3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f29b6c3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f29b6c3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f29b6c3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f29b6c3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f29b6c0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f29b6c0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f29b6c0953e 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 #49 0x00007f29b6c50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f29b6c50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f29b6c50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f29b6c5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f29b6c5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f29b6c5149e 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 #55 0x00007f29b6f4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f29b6f4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f29b6f4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f29b6f4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f29b6f4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f29b6f4e0a7 llvm::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 0x00007f29b6f4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f29b6f4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f29b6f51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f29b6f51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f29b6f51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f29b6f51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f29b6f51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f29b530724a __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 0x00007f29b530724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f29b530724a void clang::finalize>, 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 0x00007f29b530724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f29b6a44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f29b69f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f29b69f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f29b69f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f29b6a948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x0000555cbcf99a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000555cbcf9d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000555cbcf9f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000555cbcf93903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f29ad63ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f29ad63f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x0000555cbcf93945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.script: line 6: 559570 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/vfork.c (1437 of 19712) ******************** TEST 'Clang :: Analysis/vfork.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f21aa9d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f21aa9ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f21aa9d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f21a9a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f21b3435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f21b3435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f21b3435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f21b3435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f21b3435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f21b3435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f21b3435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f21b3435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f21b30d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f21b30d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f21b30d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f21b30d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f21b30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f21b30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f21b30d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f21b30d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f21b30d4e65 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 #21 0x00007f21b30d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f21b30d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f21b30d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f21b30d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f21b30d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f21b30d6cdb 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 #27 0x00007f21b30d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f21b30d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f21b30d64ad 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 #30 0x00007f21b30e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f21b30e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f21b30e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f21b30e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f21b30e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f21b30e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f21b30e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f21b30e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f21b30e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f21b303da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f21b303da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f21b303da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f21b303da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f21b3586b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f21b3586b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f21b3586b68 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 #46 0x00007f21b3300b79 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x00007f21b3300b79 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x00007f21b3300b79 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x00007f21b3300b79 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x00007f21b3300b79 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x00007f21b3300b79 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp:178:0 #52 0x00007f21b3300b79 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:0 #53 0x00007f21b302561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x00007f21b302561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x00007f21b302561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x00007f21b302561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x00007f21b302561d 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:26 #58 0x00007f21b307ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #59 0x00007f21b307ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #60 0x00007f21b307ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #61 0x00007f21b307ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #62 0x00007f21b307ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #63 0x00007f21b307ecbc 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:0 #64 0x00007f21b307f767 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:0 #65 0x00007f21b309c6f1 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 0x00007f21b309c6f1 clang::ento::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 0x00007f21b309dc4e clang::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 0x00007f21b309df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f21b303fac2 clang::ento::CoreEngine::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 0x00007f21b305109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #71 0x00007f21b305109a clang::ento::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 0x00007f21b334c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #73 0x00007f21b334c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #74 0x00007f21b334c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #75 0x00007f21b334c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #76 0x00007f21b334c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #77 0x00007f21b334e0a7 llvm::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 0x00007f21b334e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x00007f21b334e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #80 0x00007f21b3351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x00007f21b3351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x00007f21b3351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x00007f21b3351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x00007f21b3351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x00007f21b170724a __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 0x00007f21b170724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x00007f21b170724a void clang::finalize>, 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 0x00007f21b170724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x00007f21b2e44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #90 0x00007f21b2df98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #91 0x00007f21b2df98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #92 0x00007f21b2df98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #93 0x00007f21b2e948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #94 0x0000558fe9f64a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000558fe9f6870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000558fe9f6a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000558fe9f5e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x00007f21a9a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #99 0x00007f21a9a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #100 0x0000558fe9f5e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/vfork.c.script: line 2: 559552 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1538 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f70427d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f70427ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f70427d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7041854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f704b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f704b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f704b235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f704b235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f704b235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f704b235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f704b235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f704b235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f704aed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f704aed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f704aed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f704aed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f704aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f704aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f704aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f704aed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f704aed4e65 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 #21 0x00007f704aed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f704aed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f704aed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f704aeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f704aeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f704aeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f704aed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f704aed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f704aed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f704aee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f704aee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f704aee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f704aee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f704aee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f704aee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f704aee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f704aee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f704aee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f704ae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f704ae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f704ae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f704ae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f704ae3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f704ae3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f704ae3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f704ae0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f704ae0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f704ae0953e 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 #49 0x00007f704ae50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f704ae50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f704ae50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f704ae5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f704ae5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f704ae5149e 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 #55 0x00007f704b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f704b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f704b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f704b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f704b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f704b14e0a7 llvm::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 0x00007f704b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f704b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f704b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f704b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f704b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f704b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f704b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f704950724a __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 0x00007f704950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f704950724a void clang::finalize>, 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 0x00007f704950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f704ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f704abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f704abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f704abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f704ac948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000055696fec8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000055696fecc70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000055696fece440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000055696fec2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x00007f704183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #82 0x00007f704183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #83 0x000055696fec2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall.cpp.script: line 5: 559595 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/zero-size-non-pod-array.cpp (1596 of 19712) ******************** TEST 'Clang :: Analysis/zero-size-non-pod-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fabf81d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fabf81ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fabf81d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fabf7254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fac0087d99e retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fac0087d99e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fac0087d99e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fac0087d99e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007fac0087d99e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007fac0087d99e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007fac0087d99e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007fac0087d99e 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 0x00007fac0083ed11 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 0x00007fac0083fc1e 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 0x00007fac0085109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x00007fac0085109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x00007fac00b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x00007fac00b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x00007fac00b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x00007fac00b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x00007fac00b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x00007fac00b4e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x00007fac00b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x00007fac00b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x00007fac00b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x00007fac00b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x00007fac00b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x00007fac00b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x00007fac00b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x00007fabfef0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x00007fabfef0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x00007fabfef0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x00007fabfef0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x00007fac00644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x00007fac005f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x00007fac005f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x00007fac005f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x00007fac006948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x0000557a80a28a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x0000557a80a2c70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x0000557a80a2e440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x0000557a80a22903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x00007fabf723ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #43 0x00007fabf723f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #44 0x0000557a80a22945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-size-non-pod-array.cpp.script: line 2: 559668 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 (1606 of 19712) ******************** TEST 'Clang :: Analysis/zero-operands.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fae545d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fae545ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fae545d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fae53654ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fae5ccce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007fae5ccce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007fae5ccce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007fae5ccce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007fae5ccce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007fae5ccce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007fae5cc6f34b 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 #11 0x00007fae5cc6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007fae5cc6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007fae5cc6f34b 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:50 #14 0x00007fae5cc9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007fae5cc9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007fae5cc3fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #17 0x00007fae5cc5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #18 0x00007fae5cc5109a clang::ento::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 0x00007fae5cf4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007fae5cf4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007fae5cf4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #22 0x00007fae5cf4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #23 0x00007fae5cf4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #24 0x00007fae5cf4e0a7 llvm::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 0x00007fae5cf4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x00007fae5cf4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #27 0x00007fae5cf51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x00007fae5cf51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x00007fae5cf51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x00007fae5cf51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x00007fae5cf51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x00007fae5b30724a __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 0x00007fae5b30724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x00007fae5b30724a void clang::finalize>, 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 0x00007fae5b30724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x00007fae5ca44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #37 0x00007fae5c9f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #38 0x00007fae5c9f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #39 0x00007fae5c9f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #40 0x00007fae5ca948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #41 0x000055dcccb1ea94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x000055dcccb2270a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x000055dcccb24440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x000055dcccb18903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x00007fae5363ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #46 0x00007fae5363f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #47 0x000055dcccb18945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-operands.c.script: line 1: 559669 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/vla-overflow.c (1625 of 19712) ******************** TEST 'Clang :: Analysis/vla-overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fda9dfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fda9dfceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fda9dfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fda9d054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fdaa6a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fdaa6a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fdaa6a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fdaa6a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fdaa6a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fdaa6a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fdaa6a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fdaa6a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fdaa66d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fdaa66d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fdaa66d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fdaa66d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fdaa66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fdaa66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fdaa66d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fdaa66d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fdaa66d4e65 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 #21 0x00007fdaa66d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fdaa66d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fdaa66d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fdaa66b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fdaa66b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fdaa66b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fdaa66d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fdaa66d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fdaa66d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fdaa66e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fdaa66e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fdaa66e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fdaa66e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fdaa66e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fdaa66e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fdaa66e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fdaa66e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fdaa66e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fdaa663da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fdaa663da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fdaa663da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fdaa663da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fdaa6b86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fdaa6b86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fdaa6b86b68 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 #46 0x00007fdaa6669db3 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fdaa6669db3 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 #48 0x00007fdaa6669db3 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 #49 0x00007fdaa669d93e llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x00007fdaa669d93e llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x00007fdaa669d93e llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x00007fdaa669d93e clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x00007fdaa669d93e clang::ento::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 #54 0x00007fdaa669dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x00007fdaa669df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x00007fdaa663fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x00007fdaa665109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fdaa665109a clang::ento::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 0x00007fdaa694c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fdaa694c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fdaa694c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fdaa694c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fdaa694c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fdaa694e0a7 llvm::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 0x00007fdaa694e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fdaa694e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fdaa6951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fdaa6951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fdaa6951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fdaa6951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fdaa6951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fdaa4d0724a __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 0x00007fdaa4d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fdaa4d0724a void clang::finalize>, 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 0x00007fdaa4d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fdaa6444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fdaa63f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fdaa63f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fdaa63f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fdaa64948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055a22d0d9a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055a22d0dd70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055a22d0df440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055a22d0d3903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007fda9d03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007fda9d03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055a22d0d3945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla-overflow.c.script: line 1: 559612 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/z3/apsint.c (1650 of 19712) ******************** TEST 'Clang :: Analysis/z3/apsint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f1cbb7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1cbb7ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f1cbb7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1cba854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1cc4235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f1cc4235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f1cc4235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f1cc4235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f1cc4235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f1cc4235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f1cc4235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f1cc4235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f1cc3ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f1cc3ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f1cc3ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f1cc3ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f1cc3ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f1cc3ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f1cc3ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f1cc3ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f1cc3ed4c2b 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 #21 0x00007f1cc3ed4c2b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f1cc3ed4c2b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f1cc3ed4c2b (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:31 #24 0x00007f1cc3eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f1cc3eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f1cc3eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f1cc3ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f1cc3ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f1cc3ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f1cc3ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f1cc3ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f1cc3ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f1cc3ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f1cc3ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f1cc3ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f1cc3ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f1cc3ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f1cc3ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f1cc3e3da3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f1cc3e3da3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f1cc3e3da3b operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f1cc3e3da3b std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f1cc4386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007f1cc4386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007f1cc4386b68 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 #46 0x00007f1cc3e6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007f1cc3e6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007f1cc3e6bf90 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 #49 0x00007f1cc3e6bf90 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 #50 0x00007f1cc3e6bf90 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 #51 0x00007f1cc3e6bf90 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 #52 0x00007f1cc3e6bf90 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 #53 0x00007f1cc3e6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007f1cc3e6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007f1cc3e6bf90 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 #56 0x00007f1cc3e3f21a 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:0 #57 0x00007f1cc3e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007f1cc3e5109a clang::ento::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 0x00007f1cc414c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007f1cc414c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007f1cc414c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007f1cc414c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007f1cc414c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007f1cc414e0a7 llvm::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 0x00007f1cc414e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007f1cc414e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007f1cc4151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007f1cc4151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007f1cc4151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007f1cc4151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007f1cc4151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007f1cc250724a __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 0x00007f1cc250724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007f1cc250724a void clang::finalize>, 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 0x00007f1cc250724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007f1cc3c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007f1cc3bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007f1cc3bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007f1cc3bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007f1cc3c948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000055ddcf78ca94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000055ddcf79070a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000055ddcf792440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000055ddcf786903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x00007f1cba83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #86 0x00007f1cba83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #87 0x000055ddcf786945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/z3/Output/apsint.c.script: line 1: 559655 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.. FAIL: Clang :: Analysis/vla.c (1651 of 19712) ******************** TEST 'Clang :: Analysis/vla.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fa423fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa423fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fa423fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa423054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa42ca35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa42ca35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa42ca35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa42ca35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa42ca35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa42ca35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa42ca35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa42ca35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa42c6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa42c6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa42c6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa42c6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa42c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa42c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa42c6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa42c6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa42c6d4e65 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 #21 0x00007fa42c6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa42c6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa42c6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa42c6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa42c6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa42c6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa42c6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa42c6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa42c6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa42c6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa42c6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa42c6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa42c6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa42c6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa42c6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa42c6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa42c6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa42c6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa42c63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa42c63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa42c63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa42c63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa42cb86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fa42cb86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fa42cb86b68 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 #46 0x00007fa42ca16539 checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #47 0x00007fa42ca16539 (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 #48 0x00007fa42c900e3b llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #49 0x00007fa42c900e3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #50 0x00007fa42c900e3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x00007fa42c900e3b checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:0 #52 0x00007fa42c900e3b 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:0 #53 0x00007fa42c61a9db expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #54 0x00007fa42c61a9db 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:26 #55 0x00007fa42c690a89 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x00007fa42c690a89 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x00007fa42c690a89 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x00007fa42c690a89 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x00007fa42c690a89 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x00007fa42c690a89 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x00007fa42c690a89 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 0x00007fa42c69d1e5 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 0x00007fa42c69d1e5 clang::ento::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 0x00007fa42c69dc4e clang::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 0x00007fa42c69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007fa42c63fac2 clang::ento::CoreEngine::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 0x00007fa42c65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x00007fa42c65109a clang::ento::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 0x00007fa42c94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x00007fa42c94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x00007fa42c94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x00007fa42c94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x00007fa42c94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x00007fa42c94e0a7 llvm::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 0x00007fa42c94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x00007fa42c94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x00007fa42c951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x00007fa42c951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x00007fa42c951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x00007fa42c951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x00007fa42c951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x00007fa42ad0724a __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 0x00007fa42ad0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x00007fa42ad0724a void clang::finalize>, 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 0x00007fa42ad0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x00007fa42c444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x00007fa42c3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x00007fa42c3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x00007fa42c3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x00007fa42c4948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x00005584e4d49a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x00005584e4d4d70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x00005584e4d4f440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x00005584e4d43903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x00007fa42303ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #96 0x00007fa42303f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #97 0x00005584e4d43945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla.c.script: line 1: 559624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/wstring.c (1652 of 19712) ******************** TEST 'Clang :: Analysis/wstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f315cdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f315cdceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f315cdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f315be54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f31658184e1 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f31658184e1 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f31658184e1 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f31658184e1 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f31658184e1 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f31658184e1 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 0x00007f31658184e1 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f31658184e1 (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 0x00007f31655022cf llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f31655022cf llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f31655022cf 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 0x00007f316542370b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f316542370b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f316542370b 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:29 #18 0x00007f316542370b 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:33 #19 0x00007f31654b856e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x00007f31654b856e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x00007f31654b856e 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:68 #22 0x00007f31654b856e 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:70 #23 0x00007f31654b856e 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:72 #24 0x00007f316546ddf9 llvm::IntrusiveRefCntPtr::get() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #25 0x00007f316546ddf9 bool llvm::operator==(llvm::IntrusiveRefCntPtr const&, llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:26 #26 0x00007f316546ddf9 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 0x00007f316546e1ae llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f316546e1ae llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f316546e1ae 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 0x00007f316546e59f 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 #31 0x00007f316546e59f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #32 0x00007f316546e59f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x00007f316546e59f 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:40 #34 0x00007f3165490db3 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 #35 0x00007f3165490db3 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 #36 0x00007f316549d1e5 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 0x00007f316549d1e5 clang::ento::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 #38 0x00007f316549dc4e clang::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 0x00007f316549df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f316543fac2 clang::ento::CoreEngine::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 0x00007f316545109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #42 0x00007f316545109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #43 0x00007f316574c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f316574c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f316574c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #46 0x00007f316574c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #47 0x00007f316574c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #48 0x00007f316574e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #49 0x00007f316574e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #50 0x00007f316574e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #51 0x00007f3165751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #52 0x00007f3165751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #53 0x00007f3165751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #54 0x00007f3165751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #55 0x00007f3165751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #56 0x00007f3163b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #57 0x00007f3163b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #58 0x00007f3163b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #59 0x00007f3163b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #60 0x00007f3165244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #61 0x00007f31651f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #62 0x00007f31651f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #63 0x00007f31651f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #64 0x00007f31652948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #65 0x000056407ce0fa94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #66 0x000056407ce1370a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #67 0x000056407ce15440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #68 0x000056407ce09903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #69 0x00007f315be3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #70 0x00007f315be3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #71 0x000056407ce09945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/wstring.c.script: line 2: 559649 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/weak-functions.c (1669 of 19712) ******************** TEST 'Clang :: Analysis/weak-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007fd550dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fd550dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007fd550dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fd54fe54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fd559835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fd559835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fd559835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fd559835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fd559835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fd559835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fd559835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fd559835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fd5594d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fd5594d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fd5594d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fd5594d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fd5594d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fd5594d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fd5594d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fd5594d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fd5594d4e65 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 #21 0x00007fd5594d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fd5594d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fd5594d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fd5594d6cdb llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fd5594d6cdb llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fd5594d6cdb 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 #27 0x00007fd5594d64ad llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fd5594d64ad llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fd5594d64ad 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 #30 0x00007fd5594e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fd5594e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fd5594e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fd5594e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fd5594e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fd5594e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fd5594e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fd5594e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fd5594e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fd55943da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fd55943da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fd55943da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fd55943da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fd559986b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fd559986b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fd559986b68 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 #46 0x00007fd559526796 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x00007fd559526796 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 #48 0x00007fd559526796 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x00007fd559526796 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x00007fd559526796 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:0 #51 0x00007fd55942561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x00007fd55942561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x00007fd55942561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x00007fd55942561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x00007fd55942561d 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:26 #56 0x00007fd55947eac9 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x00007fd55947eac9 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x00007fd55947eac9 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #59 0x00007fd55947eac9 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #60 0x00007fd55947eac9 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #61 0x00007fd55947eac9 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #62 0x00007fd55947eac9 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:0 #63 0x00007fd55947f767 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:0 #64 0x00007fd55949c6f1 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 #65 0x00007fd55949c6f1 clang::ento::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 #66 0x00007fd55949dc4e clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x00007fd55949df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x00007fd55943fac2 clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x00007fd55945109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x00007fd55945109a clang::ento::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 0x00007fd55974c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x00007fd55974c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x00007fd55974c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x00007fd55974c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x00007fd55974c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x00007fd55974e0a7 llvm::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 0x00007fd55974e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x00007fd55974e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x00007fd559751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x00007fd559751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x00007fd559751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x00007fd559751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x00007fd559751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x00007fd557b0724a __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 0x00007fd557b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x00007fd557b0724a void clang::finalize>, 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 0x00007fd557b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x00007fd559244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x00007fd5591f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x00007fd5591f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x00007fd5591f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x00007fd5592948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x0000557e3ab24a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000557e3ab2870a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000557e3ab2a440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000557e3ab1e903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x00007fd54fe3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #98 0x00007fd54fe3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #99 0x0000557e3ab1e945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Analysis/Output/weak-functions.c.script: line 1: 559638 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.. 10.. 20.. 30.. 40 FAIL: Clang :: Coverage/html-diagnostics.c (9064 of 19712) ******************** TEST 'Clang :: Coverage/html-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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 0x00007f92361d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f92361ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f92361d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9235254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f923e8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f923e8ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f923e8ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f923e8ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f923e8ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f923e8ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f923e86f34b 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 #11 0x00007f923e86f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f923e86f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f923e86f34b 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:50 #14 0x00007f923e89db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f923e89df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f923e83f9ea 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 #17 0x00007f923e83fb9e 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:223:0 #18 0x00007f923e85109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f923e85109a clang::ento::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 0x00007f923eb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f923eb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f923eb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f923eb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f923eb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f923eb4e0a7 llvm::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 0x00007f923eb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f923eb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f923eb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f923eb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f923eb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f923eb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f923eb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f923cf0724a __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 0x00007f923cf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f923cf0724a void clang::finalize>, 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 0x00007f923cf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f923e644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f923e5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f923e5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f923e5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f923e6948bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #42 0x0000562dbfba8a94 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000562dbfbac70a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000562dbfbae440 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000562dbfba2903 main /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x00007f923523ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #47 0x00007f923523f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #48 0x0000562dbfba2945 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang+0xd945) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.script: line 6: 600581 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.. FAIL: Clang :: Tooling/clang-check-analyze-save-temps.cpp (17841 of 19712) ******************** TEST 'Clang :: Tooling/clang-check-analyze-save-temps.cpp' FAILED ******************** Script: -- : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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 0x00007fb6397d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fb6397ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007fb6397d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fb638854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fb642235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fb642235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fb642235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fb642235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fb642235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fb642235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fb642235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fb642235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fb641ed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fb641ed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fb641ed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fb641ed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fb641ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fb641ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fb641ed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fb641ed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fb641ed4e65 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 #21 0x00007fb641ed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fb641ed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fb641ed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fb641eb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fb641eb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fb641eb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fb641ed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fb641ed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fb641ed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fb641ee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fb641ee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fb641ee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fb641ee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fb641ee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fb641ee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fb641ee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fb641ee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fb641ee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fb641e3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fb641e3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fb641e3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fb641e3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fb642386b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x00007fb642386b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x00007fb642386b68 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 #46 0x00007fb641e6bf90 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #47 0x00007fb641e6bf90 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #48 0x00007fb641e6bf90 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 #49 0x00007fb641e6bf90 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 #50 0x00007fb641e6bf90 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 #51 0x00007fb641e6bf90 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 #52 0x00007fb641e6bf90 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 #53 0x00007fb641e6bf90 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #54 0x00007fb641e6bf90 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #55 0x00007fb641e6bf90 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 #56 0x00007fb641e3f21a 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:0 #57 0x00007fb641e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x00007fb641e5109a clang::ento::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 0x00007fb64214c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x00007fb64214c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x00007fb64214c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x00007fb64214c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x00007fb64214c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x00007fb64214e0a7 llvm::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 0x00007fb64214e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x00007fb64214e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x00007fb642151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x00007fb642151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x00007fb642151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x00007fb642151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x00007fb642151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x00007fb64050724a __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 0x00007fb64050724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x00007fb64050724a void clang::finalize>, 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 0x00007fb64050724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x00007fb641c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x00007fb641bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x00007fb641bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x00007fb641bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x00007fb641dc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #81 0x00007fb641dc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #82 0x00007fb641dc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #83 0x00007fb641dc073c 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:0 #84 0x00007fb641dbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007fb641dbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007fb641dbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007fb641dbdf32 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:0 #88 0x00007fb641dbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #89 0x00007fb641dbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #90 0x00007fb641dbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #91 0x00007fb641dbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #92 0x00007fb641dc0f3b clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #93 0x000055d81ef8aad2 main /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp:260:1 #94 0x00007fb63883ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #95 0x00007fb63883f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #96 0x000055d81ef8b1c5 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-check+0x81c5) /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test/Tooling/Output/clang-check-analyze-save-temps.cpp.script: line 2: 683479 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/x86_64-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.. FAIL: Clang :: Tooling/clang-check-analyzer.cpp (17849 of 19712) ******************** TEST 'Clang :: Tooling/clang-check-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/x86_64-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/x86_64-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/x86_64-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/x86_64-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 0x00007fce347d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) ^ :12:206: note: possible intended match here #11 0x00007fce3d235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x00007fce347d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: #1 0x00007fce347ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: #2 0x00007fce347d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: #3 0x00007fce33854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #4 0x00007fce3d235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #5 0x00007fce3d235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #6 0x00007fce3d235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #7 0x00007fce3d235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #8 0x00007fce3d235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #9 0x00007fce3d235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #10 0x00007fce3d235406 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 0x00007fce3d235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x00007fce3ced408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #13 0x00007fce3ced408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #14 0x00007fce3ced408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #15 0x00007fce3ced408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #16 0x00007fce3ced408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90 FAIL: Clang Tools :: clang-tidy/infrastructure/temporaries.cpp (18835 of 19712) ******************** 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 0x00007f68f7dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f68f7dceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f68f7dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f68f6e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f6900472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f6900472b29 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f6900472b29 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f6900472b29 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f6900472b29 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f6900472b29 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x00007f6900472b29 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:89 #11 0x00007f6900472e8c 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 #12 0x00007f6900472e8c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #13 0x00007f6900472e8c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f6900472e8c set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #15 0x00007f6900472e8c 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:53 #16 0x00007f69004731e0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x00007f69004731e0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x00007f69004731e0 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:63 #19 0x00007f690049a404 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #20 0x00007f690049a404 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x00007f690049a404 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 #22 0x00007f690049a404 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 #23 0x00007f690049c69e 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 0x00007f690049c69e clang::ento::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 #25 0x00007f690049dc4e clang::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 0x00007f690049df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f690043fac2 clang::ento::CoreEngine::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 0x00007f690045109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x00007f690045109a clang::ento::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 0x00007f690074c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f690074c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f690074c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x00007f690074c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x00007f690074c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x00007f690074e0a7 llvm::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 0x00007f690074e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x00007f690074e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x00007f6900751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x00007f6900751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x00007f6900751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x00007f6900751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x00007f6900751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x00007f6900259be0 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #44 0x00007f68feb0724a __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 0x00007f68feb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x00007f68feb0724a void clang::finalize>, 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 0x00007f68feb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x00007f6900244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x00007f69001f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x00007f69001f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x00007f69001f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x00007f69003c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #53 0x00007f69003c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #54 0x00007f69003c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #55 0x00007f69003c073c 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:0 #56 0x000055f397430d44 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #57 0x000055f397430d44 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #58 0x000055f397430d44 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #59 0x000055f397430d44 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 #60 0x00007f69003bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #61 0x00007f69003bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #62 0x00007f69003bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #63 0x00007f69003bdf32 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:0 #64 0x00007f69003bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #65 0x00007f69003bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #66 0x00007f69003bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #67 0x00007f69003bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #68 0x00007f69003c0f3b clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #69 0x000055f397447afc 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:586:28 #70 0x000055f396b35cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x000055f396b35cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x000055f396b35cd2 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #73 0x00007f68f6e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #74 0x00007f68f6e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #75 0x000055f396b24dc5 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55bdc5) 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 (18838 of 19712) ******************** 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 0x00007f24b13d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f24b13ceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f24b13d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f24b0454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f24b9e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f24b9e14a5e retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f24b9e14a5e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f24b9e14a5e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f24b9e14a5e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f24b9e14a5e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f24b9e14a5e get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f24b9e14a5e (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 0x00007f24b9be8fd5 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x00007f24b9be8fd5 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x00007f24b9be8fd5 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 0x00007f24b9a2397a llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x00007f24b9a2397a llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x00007f24b9a2397a 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:29 #18 0x00007f24b9a2397a clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x00007f24b9ae8f01 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x00007f24b9ae8f01 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x00007f24b9ae8f01 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x00007f24b9ae8f01 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x00007f24b9ae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x00007f24b9ae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x00007f24b9ae9060 clang::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 0x00007f24b9a3db3e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007f24b9a3db3e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007f24b9a3db3e operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x00007f24b9a3db3e std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #30 0x00007f24b9f86b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x00007f24b9f86b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x00007f24b9f86b68 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 0x00007f24b9c15ff0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x00007f24b9c15ff0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x00007f24b9c15ff0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x00007f24b9c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x00007f24b9c15ff0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x00007f24b9c15ff0 (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 0x00007f24b9c1647b llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x00007f24b9c1647b llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x00007f24b9c1647b (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 0x00007f24b9c1851b checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x00007f24b9c1851b 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 0x00007f24b9a2561d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #45 0x00007f24b9a2561d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x00007f24b9a2561d clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #47 0x00007f24b9a2561d runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #48 0x00007f24b9a2561d 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:26 #49 0x00007f24b9a7ecbc llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #50 0x00007f24b9a7ecbc llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #51 0x00007f24b9a7ecbc llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #52 0x00007f24b9a7ecbc llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #53 0x00007f24b9a7ecbc llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #54 0x00007f24b9a7ecbc 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:0 #55 0x00007f24b9a7f767 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:0 #56 0x00007f24b9a9c6f1 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 0x00007f24b9a9c6f1 clang::ento::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 0x00007f24b9a9dc4e clang::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 0x00007f24b9a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f24b9a3fac2 clang::ento::CoreEngine::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 0x00007f24b9a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #62 0x00007f24b9a5109a clang::ento::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 0x00007f24b9d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #64 0x00007f24b9d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #65 0x00007f24b9d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #66 0x00007f24b9d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #67 0x00007f24b9d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #68 0x00007f24b9d4e0a7 llvm::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 0x00007f24b9d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x00007f24b9d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #71 0x00007f24b9d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x00007f24b9d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x00007f24b9d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x00007f24b9d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x00007f24b9d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x00007f24b9859be0 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #77 0x00007f24b810724a __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 0x00007f24b810724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x00007f24b810724a void clang::finalize>, 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 0x00007f24b810724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x00007f24b9844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #82 0x00007f24b97f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #83 0x00007f24b97f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #84 0x00007f24b97f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #85 0x00007f24b99c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #86 0x00007f24b99c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #87 0x00007f24b99c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #88 0x00007f24b99c073c 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:0 #89 0x000055f55943fd44 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #90 0x000055f55943fd44 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #91 0x000055f55943fd44 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #92 0x000055f55943fd44 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 #93 0x00007f24b99bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #94 0x00007f24b99bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #95 0x00007f24b99bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #96 0x00007f24b99bdf32 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:0 #97 0x00007f24b99bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #98 0x00007f24b99bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #99 0x00007f24b99bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #100 0x00007f24b99bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #101 0x00007f24b99c0f3b clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #102 0x000055f559456afc 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:586:28 #103 0x000055f558b44cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #104 0x000055f558b44cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #105 0x000055f558b44cd2 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #106 0x00007f24b043ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #107 0x00007f24b043f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #108 0x000055f558b33dc5 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55bdc5) 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 Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp (18841 of 19712) ******************** 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 0x00007f9272fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f9272fceed0 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceed0) #2 0x00007f9272fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f9272054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f927b81dc56 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f927b81dc56 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f927b81dc56 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f927b81dc56 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007f927b81dc56 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007f927b81dc56 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007f927b81dc56 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x00007f927b81dc56 (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 0x00007f927b61bfa7 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 0x00007f927b66f23c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x00007f927b66f23c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x00007f927b66f23c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x00007f927b66f23c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x00007f927b66f23c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x00007f927b66f23c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x00007f927b66f23c 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 0x00007f927b69db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #21 0x00007f927b69df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007f927b63fac2 clang::ento::CoreEngine::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 0x00007f927b65109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x00007f927b65109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x00007f927b94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x00007f927b94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x00007f927b94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x00007f927b94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x00007f927b94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x00007f927b94e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x00007f927b94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x00007f927b94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x00007f927b951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x00007f927b951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x00007f927b951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x00007f927b951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x00007f927b951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x00007f927b459be0 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #39 0x00007f9279d0724a __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 0x00007f9279d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x00007f9279d0724a void clang::finalize>, 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 0x00007f9279d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x00007f927b444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x00007f927b3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x00007f927b3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x00007f927b3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x00007f927b5c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #48 0x00007f927b5c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #49 0x00007f927b5c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #50 0x00007f927b5c073c 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:0 #51 0x0000557c4fc91d44 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #52 0x0000557c4fc91d44 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #53 0x0000557c4fc91d44 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #54 0x0000557c4fc91d44 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 #55 0x00007f927b5bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #56 0x00007f927b5bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #57 0x00007f927b5bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #58 0x00007f927b5bdf32 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:0 #59 0x00007f927b5bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #60 0x00007f927b5bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #61 0x00007f927b5bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #62 0x00007f927b5bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #63 0x00007f927b5c0f3b clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #64 0x0000557c4fca8afc 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:586:28 #65 0x0000557c4f396cd2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000557c4f396cd2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000557c4f396cd2 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #68 0x00007f927203ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #69 0x00007f927203f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #70 0x0000557c4f385dc5 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55bdc5) 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-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45 (19205 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-37-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=37 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 38 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetContainsTest [ OK ] RangeSetTest/3.RangeSetContainsTest (4 ms) [----------] 1 test from RangeSetTest/3 (4 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 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/5 [ OK ] SValTests/SValTest.GetConstType/5 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/8 [ OK ] SValTests/SValTest.GetSymExprType/8 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/11 #0 0x00007efe3fbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efe3fbceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007efe3fbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efe3ec54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efe48635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007efe48635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007efe48635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007efe48635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007efe48635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007efe48635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007efe48635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007efe48635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007efe482d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007efe482d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007efe482d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007efe482d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007efe482d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007efe482d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007efe482d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007efe482d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007efe482d4e65 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 #21 0x00007efe482d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007efe482d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007efe482d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007efe482b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007efe482b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007efe482b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007efe482d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007efe482d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007efe482d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007efe482e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007efe482e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007efe482e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007efe482e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007efe482e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007efe482e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007efe482e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007efe482e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007efe482e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007efe4823da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007efe4823da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007efe4823da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007efe4823da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007efe4823df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007efe4823df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007efe4823df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007efe4820953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007efe4820953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007efe4820953e 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 #49 0x00007efe48250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007efe48250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007efe48250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007efe4825149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007efe4825149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007efe4825149e 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 #55 0x00007efe4854c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007efe4854c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007efe4854c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007efe4854c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007efe4854c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007efe4854e0a7 llvm::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 0x00007efe4854e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007efe4854e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007efe48551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007efe48551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007efe48551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007efe48551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007efe48551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007efe4690724a __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 0x00007efe4690724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007efe4690724a void clang::finalize>, 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 0x00007efe4690724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007efe48044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007efe47ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007efe47ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007efe47ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007efe481c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007efe481c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007efe481c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007efe481c073c 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:0 #80 0x00007efe481bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007efe481bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007efe481bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007efe481bdf32 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:0 #84 0x00007efe481bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007efe481bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007efe481bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007efe481bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007efe481bffc9 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:218:0 #89 0x00007efe481c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007efe481c0352 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:0 #91 0x0000563c88e2e87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x0000563c88e2e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x0000563c88e2e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x0000563c88e2e87a 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 #95 0x0000563c88e50d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000563c88e52309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000563c88e52ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x0000563c88e5e6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x0000563c88e5df7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x0000563c88e495ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007efe3ec3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007efe3ec3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000563c88d98615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-37-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45 (19206 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-44-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=44 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 45 of 45. [==========] Running 7 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetGenericIntersectTest [ OK ] RangeSetTest/4.RangeSetGenericIntersectTest (4 ms) [----------] 1 test from RangeSetTest/4 (4 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 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) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/12 [ OK ] SValTests/SValTest.GetConstType/12 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/15 [ OK ] SValTests/SValTest.GetSymExprType/15 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/18 #0 0x00007f3676fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f3676fceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f3676fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3676054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f367fa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f367fa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f367fa35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f367fa35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f367fa35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f367fa35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f367fa35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f367fa35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f367f6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f367f6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f367f6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f367f6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f367f6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f367f6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f367f6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f367f6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f367f6d4e65 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 #21 0x00007f367f6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f367f6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f367f6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f367f6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f367f6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f367f6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f367f6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f367f6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f367f6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f367f6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f367f6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f367f6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f367f6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f367f6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f367f6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f367f6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f367f6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f367f6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f367f63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f367f63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f367f63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f367f63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f367f63df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f367f63df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f367f63df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f367f60953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f367f60953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f367f60953e 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 #49 0x00007f367f650e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f367f650e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f367f650e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f367f65149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f367f65149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f367f65149e 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 #55 0x00007f367f94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f367f94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f367f94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f367f94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f367f94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f367f94e0a7 llvm::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 0x00007f367f94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f367f94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f367f951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f367f951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f367f951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f367f951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f367f951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f367dd0724a __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 0x00007f367dd0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f367dd0724a void clang::finalize>, 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 0x00007f367dd0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f367f444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f367f3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f367f3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f367f3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f367f5c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f367f5c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f367f5c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f367f5c073c 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:0 #80 0x00007f367f5bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f367f5bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f367f5bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f367f5bdf32 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:0 #84 0x00007f367f5bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f367f5bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f367f5bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f367f5bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f367f5bffc9 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:218:0 #89 0x00007f367f5c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f367f5c0352 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:0 #91 0x000055a0a281187a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055a0a281187a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055a0a281187a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055a0a281187a 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 #95 0x000055a0a2833d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055a0a2835309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055a0a2835ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055a0a28416f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055a0a2840f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055a0a282c5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f367603ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f367603f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055a0a277b615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-44-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45 (19207 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-30-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=30 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 31 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetAddTest [ OK ] RangeSetTest/2.RangeSetAddTest (3 ms) [----------] 1 test from RangeSetTest/2 (4 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 RangeSetCastToPromotionConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/7.Test [ OK ] RangeSetCastToPromotionConversionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/7 (2 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.StringOptions [ OK ] StaticAnalyzerOptions.StringOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/1 [ OK ] SValTests/SValTest.GetSymExprType/1 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/4 #0 0x00007ff9e79d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff9e79ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007ff9e79d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff9e6a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff9f0435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff9f0435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff9f0435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff9f0435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff9f0435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff9f0435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff9f0435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff9f0435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff9f00d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff9f00d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff9f00d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff9f00d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff9f00d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff9f00d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff9f00d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff9f00d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff9f00d4e65 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 #21 0x00007ff9f00d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff9f00d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff9f00d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff9f00b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff9f00b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff9f00b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff9f00d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff9f00d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff9f00d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff9f00e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff9f00e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff9f00e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff9f00e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff9f00e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff9f00e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff9f00e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff9f00e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff9f00e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff9f003da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff9f003da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff9f003da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff9f003da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff9f003df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff9f003df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff9f003df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff9f000953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff9f000953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff9f000953e 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 #49 0x00007ff9f0050e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff9f0050e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff9f0050e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ff9f005149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff9f005149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff9f005149e 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 #55 0x00007ff9f034c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff9f034c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff9f034c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff9f034c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff9f034c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff9f034e0a7 llvm::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 0x00007ff9f034e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff9f034e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff9f0351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff9f0351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff9f0351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff9f0351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff9f0351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff9ee70724a __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 0x00007ff9ee70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff9ee70724a void clang::finalize>, 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 0x00007ff9ee70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff9efe44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff9efdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff9efdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff9efdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff9effc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007ff9effc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007ff9effc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007ff9effc073c 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:0 #80 0x00007ff9effbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007ff9effbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007ff9effbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007ff9effbdf32 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:0 #84 0x00007ff9effbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007ff9effbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007ff9effbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007ff9effbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007ff9effbffc9 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:218:0 #89 0x00007ff9effc0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007ff9effc0352 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:0 #91 0x000055c8c3a3787a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055c8c3a3787a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055c8c3a3787a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055c8c3a3787a 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 #95 0x000055c8c3a59d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055c8c3a5b309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055c8c3a5bab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055c8c3a676f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055c8c3a66f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055c8c3a525ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007ff9e6a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007ff9e6a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055c8c39a1615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-30-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45 (19208 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-42-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=42 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 43 of 45. [==========] Running 7 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetPointIntersectTest [ OK ] RangeSetTest/4.RangeSetPointIntersectTest (3 ms) [----------] 1 test from RangeSetTest/4 (3 ms total) [----------] 1 test from RangeSetCastToPromotionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/6.Test [ OK ] RangeSetCastToPromotionTest/6.Test (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/6 (3 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/7.Test [ OK ] RangeSetCastToTruncationConversionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/7 (2 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/10 [ OK ] SValTests/SValTest.GetConstType/10 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/13 [ OK ] SValTests/SValTest.GetSymExprType/13 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/16 #0 0x00007f31741d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f31741ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f31741d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f3173254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f317cc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f317cc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f317cc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f317cc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f317cc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f317cc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f317cc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f317cc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f317c8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f317c8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f317c8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f317c8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f317c8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f317c8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f317c8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f317c8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f317c8d4e65 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 #21 0x00007f317c8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f317c8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f317c8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f317c8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f317c8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f317c8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f317c8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f317c8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f317c8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f317c8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f317c8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f317c8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f317c8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f317c8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f317c8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f317c8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f317c8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f317c8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f317c83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f317c83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f317c83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f317c83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f317c83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f317c83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f317c83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f317c80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f317c80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f317c80953e 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 #49 0x00007f317c850e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f317c850e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f317c850e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f317c85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f317c85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f317c85149e 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 #55 0x00007f317cb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f317cb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f317cb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f317cb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f317cb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f317cb4e0a7 llvm::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 0x00007f317cb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f317cb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f317cb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f317cb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f317cb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f317cb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f317cb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f317af0724a __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 0x00007f317af0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f317af0724a void clang::finalize>, 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 0x00007f317af0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f317c644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f317c5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f317c5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f317c5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f317c7c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f317c7c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f317c7c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f317c7c073c 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:0 #80 0x00007f317c7bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f317c7bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f317c7bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f317c7bdf32 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:0 #84 0x00007f317c7bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f317c7bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f317c7bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f317c7bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f317c7bffc9 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:218:0 #89 0x00007f317c7c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f317c7c0352 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:0 #91 0x000055c3fcf4587a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055c3fcf4587a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055c3fcf4587a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055c3fcf4587a 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 #95 0x000055c3fcf67d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055c3fcf69309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055c3fcf69ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055c3fcf756f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055c3fcf74f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055c3fcf605ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f317323ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f317323f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055c3fceaf615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-42-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45 (19209 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-31-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=31 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 32 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetDeletePointTest [ OK ] RangeSetTest/2.RangeSetDeletePointTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 ms total) [----------] 1 test from RangeSetCastToNoopTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/3 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/8.Test [ OK ] RangeSetCastToPromotionConversionTest/8.Test (3 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/8 (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SubCheckerOptions [ OK ] StaticAnalyzerOptions.SubCheckerOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/2 [ OK ] SValTests/SValTest.GetSymExprType/2 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/5 #0 0x00007f45cbfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f45cbfceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f45cbfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f45cb054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f45d4a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f45d4a35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f45d4a35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f45d4a35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f45d4a35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f45d4a35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f45d4a35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f45d4a35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f45d46d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f45d46d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f45d46d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f45d46d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f45d46d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f45d46d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f45d46d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f45d46d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f45d46d4e65 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 #21 0x00007f45d46d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f45d46d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f45d46d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f45d46b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f45d46b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f45d46b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f45d46d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f45d46d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f45d46d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f45d46e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f45d46e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f45d46e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f45d46e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f45d46e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f45d46e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f45d46e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f45d46e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f45d46e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f45d463da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f45d463da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f45d463da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f45d463da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f45d463df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f45d463df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f45d463df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f45d460953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f45d460953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f45d460953e 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 #49 0x00007f45d4650e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f45d4650e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f45d4650e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f45d465149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f45d465149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f45d465149e 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 #55 0x00007f45d494c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f45d494c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f45d494c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f45d494c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f45d494c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f45d494e0a7 llvm::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 0x00007f45d494e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f45d494e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f45d4951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f45d4951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f45d4951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f45d4951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f45d4951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f45d2d0724a __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 0x00007f45d2d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f45d2d0724a void clang::finalize>, 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 0x00007f45d2d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f45d4444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f45d43f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f45d43f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f45d43f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f45d45c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f45d45c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f45d45c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f45d45c073c 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:0 #80 0x00007f45d45bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f45d45bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f45d45bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f45d45bdf32 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:0 #84 0x00007f45d45bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f45d45bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f45d45bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f45d45bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f45d45bffc9 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:218:0 #89 0x00007f45d45c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f45d45c0352 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:0 #91 0x000055ef0f8bd87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055ef0f8bd87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055ef0f8bd87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055ef0f8bd87a 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 #95 0x000055ef0f8dfd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055ef0f8e1309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055ef0f8e1ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055ef0f8ed6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055ef0f8ecf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055ef0f8d85ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f45cb03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f45cb03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055ef0f827615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-31-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45 (19210 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-24-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=24 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 25 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetUniteTest [ OK ] RangeSetTest/1.RangeSetUniteTest (4 ms) [----------] 1 test from RangeSetTest/1 (4 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetContainsTest [ OK ] RangeSetTest/7.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/7 (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 CallDescription [ RUN ] CallDescription.MatchBuiltins [ OK ] CallDescription.MatchBuiltins (12 ms) [----------] 1 test from CallDescription (12 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/16 [ OK ] SValTests/SValTest.GetLocAsIntType/16 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/19 [ OK ] SValTests/SValTest.GetPointerType/19 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/1 #0 0x00007f97c8bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f97c8bceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f97c8bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f97c7c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f97d1635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f97d1635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f97d1635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f97d1635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f97d1635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f97d1635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f97d1635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f97d1635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f97d12d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f97d12d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f97d12d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f97d12d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f97d12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f97d12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f97d12d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f97d12d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f97d12d4e65 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 #21 0x00007f97d12d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f97d12d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f97d12d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f97d12b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f97d12b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f97d12b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f97d12d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f97d12d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f97d12d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f97d12e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f97d12e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f97d12e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f97d12e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f97d12e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f97d12e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f97d12e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f97d12e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f97d12e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f97d123da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f97d123da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f97d123da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f97d123da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f97d123df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f97d123df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f97d123df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f97d120953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f97d120953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f97d120953e 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 #49 0x00007f97d1250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f97d1250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f97d1250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f97d125149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f97d125149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f97d125149e 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 #55 0x00007f97d154c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f97d154c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f97d154c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f97d154c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f97d154c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f97d154e0a7 llvm::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 0x00007f97d154e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f97d154e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f97d1551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f97d1551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f97d1551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f97d1551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f97d1551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f97cf90724a __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 0x00007f97cf90724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f97cf90724a void clang::finalize>, 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 0x00007f97cf90724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f97d1044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f97d0ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f97d0ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f97d0ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f97d11c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f97d11c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f97d11c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f97d11c073c 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:0 #80 0x00007f97d11bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f97d11bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f97d11bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f97d11bdf32 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:0 #84 0x00007f97d11bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f97d11bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f97d11bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f97d11bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f97d11bffc9 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:218:0 #89 0x00007f97d11c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f97d11c0352 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:0 #91 0x00005571773100ba std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x00005571773100ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x00005571773100ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x00005571773100ba clang::ento::(anonymous namespace)::SValTest_GetThisType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:342:1 #95 0x0000557177331d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000557177333309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000557177333ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055717733f6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055717733ef7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055717732a5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f97c7c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f97c7c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000557177279615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-24-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45 (19211 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-28-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=28 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 29 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetGenericIntersectTest [ OK ] RangeSetTest/2.RangeSetGenericIntersectTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 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 RangeSetCastToPromotionConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/5.Test [ OK ] RangeSetCastToPromotionConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/5 (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.getRegisteredCheckers [ OK ] StaticAnalyzerOptions.getRegisteredCheckers (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/20 [ OK ] SValTests/SValTest.GetLocAsIntType/20 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/2 #0 0x00007efc51fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efc51fceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007efc51fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efc51054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efc5aa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007efc5aa35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007efc5aa35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007efc5aa35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007efc5aa35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007efc5aa35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007efc5aa35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007efc5aa35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007efc5a6d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007efc5a6d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007efc5a6d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007efc5a6d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007efc5a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007efc5a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007efc5a6d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007efc5a6d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007efc5a6d4e65 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 #21 0x00007efc5a6d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007efc5a6d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007efc5a6d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007efc5a6b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007efc5a6b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007efc5a6b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007efc5a6d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007efc5a6d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007efc5a6d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007efc5a6e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007efc5a6e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007efc5a6e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007efc5a6e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007efc5a6e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007efc5a6e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007efc5a6e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007efc5a6e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007efc5a6e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007efc5a63da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007efc5a63da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007efc5a63da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007efc5a63da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007efc5a63df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007efc5a63df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007efc5a63df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007efc5a60953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007efc5a60953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007efc5a60953e 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 #49 0x00007efc5a650e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007efc5a650e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007efc5a650e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007efc5a65149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007efc5a65149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007efc5a65149e 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 #55 0x00007efc5a94c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007efc5a94c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007efc5a94c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007efc5a94c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007efc5a94c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007efc5a94e0a7 llvm::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 0x00007efc5a94e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007efc5a94e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007efc5a951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007efc5a951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007efc5a951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007efc5a951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007efc5a951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007efc58d0724a __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 0x00007efc58d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007efc58d0724a void clang::finalize>, 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 0x00007efc58d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007efc5a444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007efc5a3f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007efc5a3f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007efc5a3f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007efc5a5c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007efc5a5c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007efc5a5c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007efc5a5c073c 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:0 #80 0x00007efc5a5bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007efc5a5bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007efc5a5bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007efc5a5bdf32 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:0 #84 0x00007efc5a5bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007efc5a5bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007efc5a5bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007efc5a5bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007efc5a5bffc9 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:218:0 #89 0x00007efc5a5c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007efc5a5c0352 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:0 #91 0x000056206f6bc87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000056206f6bc87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000056206f6bc87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000056206f6bc87a 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 #95 0x000056206f6ded4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000056206f6e0309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000056206f6e0ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000056206f6ec6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000056206f6ebf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000056206f6d75ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007efc5103ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007efc5103f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000056206f626615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-28-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45 (19212 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-9-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=9 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 10 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetNegateTest [ OK ] RangeSetTest/0.RangeSetNegateTest (4 ms) [----------] 1 test from RangeSetTest/0 (4 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 RangeSetCastToTruncationTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/6.Test [ OK ] RangeSetCastToTruncationTest/6.Test (3 ms) [----------] 1 test from RangeSetCastToTruncationTest/6 (3 ms total) [----------] 1 test from CXXDeallocatorCall [ RUN ] CXXDeallocatorCall.SimpleDestructor #0 0x00007f74badd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f74badceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f74badd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f74b9e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f74c3835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f74c3835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f74c3835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f74c3835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f74c3835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f74c3835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f74c3835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f74c3835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f74c34d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f74c34d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f74c34d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f74c34d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f74c34d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f74c34d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f74c34d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f74c34d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f74c34d4e65 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 #21 0x00007f74c34d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f74c34d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f74c34d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f74c34b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f74c34b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f74c34b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f74c34d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f74c34d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f74c34d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f74c34e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f74c34e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f74c34e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f74c34e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f74c34e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f74c34e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f74c34e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f74c34e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f74c34e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f74c343da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f74c343da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f74c343da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f74c343da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f74c343df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f74c343df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f74c343df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f74c3497620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f74c3497620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f74c3497620 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 #49 0x00007f74c3497620 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 #50 0x00007f74c34977b2 clang::ento::NodeBuilderContext::getBlock() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:218:0 #51 0x00007f74c34977b2 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 0x00007f74c349dfaf clang::ento::ExprEngine::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 0x00007f74c343f9ea 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 0x00007f74c343fb9e 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:223:0 #55 0x00007f74c345109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x00007f74c345109a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x00007f74c374c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x00007f74c374c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x00007f74c374c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x00007f74c374c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x00007f74c374c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x00007f74c374e0a7 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x00007f74c374e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x00007f74c374e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x00007f74c3751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x00007f74c3751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x00007f74c3751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x00007f74c3751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x00007f74c3751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x00007f74c1b0724a __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x00007f74c1b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x00007f74c1b0724a void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x00007f74c1b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x00007f74c3244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x00007f74c31f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x00007f74c31f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x00007f74c31f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x00007f74c33c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #79 0x00007f74c33c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #80 0x00007f74c33c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #81 0x00007f74c33c073c 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:0 #82 0x00007f74c33bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #83 0x00007f74c33bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #84 0x00007f74c33bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #85 0x00007f74c33bdf32 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:0 #86 0x00007f74c33bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #87 0x00007f74c33bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #88 0x00007f74c33bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #89 0x00007f74c33bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #90 0x00007f74c33bffc9 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:218:0 #91 0x00007f74c33c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x00007f74c33c0352 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:0 #93 0x00007f74c33c04d2 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #94 0x00007f74c33c04d2 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:0 #95 0x0000557ffcd7e8f9 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #96 0x0000557ffcd7e8f9 runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #97 0x0000557ffcd7e8f9 clang::ento::(anonymous namespace)::CXXDeallocatorCall_SimpleDestructor_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CallEventTest.cpp:75:3 #98 0x0000557ffce08d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #99 0x0000557ffce0a309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #100 0x0000557ffce0aab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #101 0x0000557ffce166f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #102 0x0000557ffce15f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #103 0x0000557ffce015ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #104 0x00007f74b9e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #105 0x00007f74b9e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #106 0x0000557ffcd50615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-9-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45 (19218 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-23-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=23 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 24 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetDeletePointTest [ OK ] RangeSetTest/1.RangeSetDeletePointTest (4 ms) [----------] 1 test from RangeSetTest/1 (4 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 RangeSetCastToPromotionConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/0.Test [ OK ] RangeSetCastToPromotionConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/0 (2 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.NegativeMatchQualifiedNames [ OK ] CallDescription.NegativeMatchQualifiedNames (2 ms) [----------] 1 test from CallDescription (2 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/15 [ OK ] SValTests/SValTest.GetLocAsIntType/15 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/18 [ OK ] SValTests/SValTest.GetPointerType/18 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/0 #0 0x00007f1fd83d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f1fd83ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f1fd83d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f1fd7454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f1fe0ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f1fe0ace1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f1fe0ace1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f1fe0ace1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f1fe0ace1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f1fe0ace1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f1fe0a6f34b 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 #11 0x00007f1fe0a6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f1fe0a6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f1fe0a6f34b 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:50 #14 0x00007f1fe0a9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f1fe0a9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f1fe0a3f9ea 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 #17 0x00007f1fe0a3fb9e 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:223:0 #18 0x00007f1fe0a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f1fe0a5109a clang::ento::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 0x00007f1fe0d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f1fe0d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f1fe0d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f1fe0d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f1fe0d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f1fe0d4e0a7 llvm::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 0x00007f1fe0d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f1fe0d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f1fe0d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f1fe0d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f1fe0d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f1fe0d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f1fe0d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f1fdf10724a __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 0x00007f1fdf10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f1fdf10724a void clang::finalize>, 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 0x00007f1fdf10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f1fe0844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f1fe07f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f1fe07f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f1fe07f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f1fe09c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #42 0x00007f1fe09c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #43 0x00007f1fe09c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #44 0x00007f1fe09c073c 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:0 #45 0x00007f1fe09bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #46 0x00007f1fe09bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #47 0x00007f1fe09bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #48 0x00007f1fe09bdf32 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:0 #49 0x00007f1fe09bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #50 0x00007f1fe09bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #51 0x00007f1fe09bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #52 0x00007f1fe09bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #53 0x00007f1fe09bffc9 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:218:0 #54 0x00007f1fe09c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #55 0x00007f1fe09c0352 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:0 #56 0x00005562c407e0ba std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #57 0x00005562c407e0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #58 0x00005562c407e0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #59 0x00005562c407e0ba clang::ento::(anonymous namespace)::SValTest_GetThisType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:342:1 #60 0x00005562c409fd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #61 0x00005562c40a1309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #62 0x00005562c40a1ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #63 0x00005562c40ad6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #64 0x00005562c40acf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #65 0x00005562c40985ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #66 0x00007f1fd743ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #67 0x00007f1fd743f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #68 0x00005562c3fe7615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-23-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45 (19230 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-26-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=26 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 27 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetPointIntersectTest [ OK ] RangeSetTest/2.RangeSetPointIntersectTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 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 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 BugReportInterestingness [ RUN ] BugReportInterestingness.Symbols input.cpp:15:7: warning: test bug [test.Interestingness] 15 | bug(A); | ^~~~~~ 1 warning generated. [ OK ] BugReportInterestingness.Symbols (4 ms) [----------] 1 test from BugReportInterestingness (4 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/18 [ OK ] SValTests/SValTest.GetLocAsIntType/18 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/0 #0 0x00007f4fde7d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f4fde7ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f4fde7d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f4fdd854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f4fe6ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f4fe6ece1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f4fe6ece1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f4fe6ece1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f4fe6ece1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f4fe6ece1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f4fe6e6f34b 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 #11 0x00007f4fe6e6f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f4fe6e6f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f4fe6e6f34b 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:50 #14 0x00007f4fe6e9db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f4fe6e9df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f4fe6e3f9ea 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 #17 0x00007f4fe6e3fb9e 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:223:0 #18 0x00007f4fe6e5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f4fe6e5109a clang::ento::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 0x00007f4fe714c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f4fe714c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f4fe714c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f4fe714c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f4fe714c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f4fe714e0a7 llvm::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 0x00007f4fe714e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f4fe714e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f4fe7151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f4fe7151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f4fe7151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f4fe7151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f4fe7151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f4fe550724a __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 0x00007f4fe550724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f4fe550724a void clang::finalize>, 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 0x00007f4fe550724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f4fe6c44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f4fe6bf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f4fe6bf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f4fe6bf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f4fe6dc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #42 0x00007f4fe6dc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #43 0x00007f4fe6dc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #44 0x00007f4fe6dc073c 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:0 #45 0x00007f4fe6dbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #46 0x00007f4fe6dbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #47 0x00007f4fe6dbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #48 0x00007f4fe6dbdf32 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:0 #49 0x00007f4fe6dbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #50 0x00007f4fe6dbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #51 0x00007f4fe6dbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #52 0x00007f4fe6dbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #53 0x00007f4fe6dbffc9 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:218:0 #54 0x00007f4fe6dc0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #55 0x00007f4fe6dc0352 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:0 #56 0x000055939ac7b87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #57 0x000055939ac7b87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #58 0x000055939ac7b87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #59 0x000055939ac7b87a 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 #60 0x000055939ac9dd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #61 0x000055939ac9f309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #62 0x000055939ac9fab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #63 0x000055939acab6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #64 0x000055939acaaf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #65 0x000055939ac965ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #66 0x00007f4fdd83ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #67 0x00007f4fdd83f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #68 0x000055939abe5615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-26-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45 (19252 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-32-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=32 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 33 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetUniteTest [ OK ] RangeSetTest/2.RangeSetUniteTest (3 ms) [----------] 1 test from RangeSetTest/2 (4 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 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/0 [ OK ] SValTests/SValTest.GetConstType/0 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/3 [ OK ] SValTests/SValTest.GetSymExprType/3 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/6 #0 0x00007f64cbfd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f64cbfceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f64cbfd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f64cb054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f64d46ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f64d46ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f64d46ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f64d46ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f64d46ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f64d46ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f64d466f34b 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 #11 0x00007f64d466f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f64d466f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f64d466f34b 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:50 #14 0x00007f64d469db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f64d469df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f64d463f9ea 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 #17 0x00007f64d463fb9e 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:223:0 #18 0x00007f64d465109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f64d465109a clang::ento::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 0x00007f64d494c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f64d494c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f64d494c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f64d494c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f64d494c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f64d494e0a7 llvm::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 0x00007f64d494e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f64d494e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f64d4951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f64d4951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f64d4951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f64d4951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f64d4951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f64d2d0724a __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 0x00007f64d2d0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f64d2d0724a void clang::finalize>, 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 0x00007f64d2d0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f64d4444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f64d43f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f64d43f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f64d43f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f64d45c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #42 0x00007f64d45c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #43 0x00007f64d45c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #44 0x00007f64d45c073c 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:0 #45 0x00007f64d45bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #46 0x00007f64d45bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #47 0x00007f64d45bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #48 0x00007f64d45bdf32 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:0 #49 0x00007f64d45bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #50 0x00007f64d45bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #51 0x00007f64d45bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #52 0x00007f64d45bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #53 0x00007f64d45bffc9 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:218:0 #54 0x00007f64d45c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #55 0x00007f64d45c0352 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:0 #56 0x000055c1a8aad87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #57 0x000055c1a8aad87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #58 0x000055c1a8aad87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #59 0x000055c1a8aad87a 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 #60 0x000055c1a8acfd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #61 0x000055c1a8ad1309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #62 0x000055c1a8ad1ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #63 0x000055c1a8add6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #64 0x000055c1a8adcf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #65 0x000055c1a8ac85ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #66 0x00007f64cb03ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #67 0x00007f64cb03f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #68 0x000055c1a8a17615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-32-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45 (19253 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-0-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=0 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 1 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from TestReturnValueUnderConstructionChecker [ RUN ] TestReturnValueUnderConstructionChecker.ReturnValueUnderConstructionChecker #0 0x00007efdda3d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007efdda3ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007efdda3d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007efdd9454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007efde2a6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x00007efde2a6f83e retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007efde2a6f83e retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007efde2a6f83e IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x00007efde2a6f83e ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x00007efde2a6f83e MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x00007efde2a6f83e get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x00007efde2a6f83e 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 0x00007efde2a35656 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x00007efde2a35656 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x00007efde2a35656 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 0x00007efde2a35656 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 0x00007efde2a3722c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x00007efde2a3722c 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 0x00007efde2ae0dd8 llvm::SmallVectorBase::size() const /usr/include/llvm/ADT/SmallVector.h:91:0 #19 0x00007efde2ae0dd8 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x00007efde2ae0dd8 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 #21 0x00007efde2ae1579 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x00007efde2ae1579 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 #23 0x00007efde2a7e6c7 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x00007efde2a7e6c7 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x00007efde2a7e6c7 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 #26 0x00007efde2a9353e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x00007efde2a9353e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x00007efde2a9353e 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 #29 0x00007efde2a93f1d llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x00007efde2a93f1d llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x00007efde2a93f1d llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007efde2a93f1d 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 #33 0x00007efde2a3ce4e 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 0x00007efde2a99b59 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x00007efde2a99b59 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x00007efde2a99b59 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x00007efde2a99b59 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x00007efde2a99b59 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x00007efde2a99b59 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x00007efde2a99b59 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 #41 0x00007efde2a9c69e 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 0x00007efde2a9c69e clang::ento::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 #43 0x00007efde2a9dc4e clang::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 0x00007efde2a9df5f clang::ento::ExprEngine::processCFGElement(clang::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 0x00007efde2a3fac2 clang::ento::CoreEngine::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 0x00007efde2a5109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x00007efde2a5109a clang::ento::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 0x00007efde2d4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x00007efde2d4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x00007efde2d4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x00007efde2d4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x00007efde2d4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x00007efde2d4e0a7 llvm::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 0x00007efde2d4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x00007efde2d4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x00007efde2d51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x00007efde2d51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x00007efde2d51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x00007efde2d51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x00007efde2d51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x00007efde110724a __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 0x00007efde110724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x00007efde110724a void clang::finalize>, 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 0x00007efde110724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x00007efde2844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x00007efde27f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x00007efde27f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x00007efde27f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x00007efde29c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #70 0x00007efde29c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #71 0x00007efde29c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #72 0x00007efde29c073c 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:0 #73 0x00007efde29bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #74 0x00007efde29bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #75 0x00007efde29bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #76 0x00007efde29bdf32 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:0 #77 0x00007efde29bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #78 0x00007efde29bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #79 0x00007efde29bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #80 0x00007efde29bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #81 0x00007efde29bffc9 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:218:0 #82 0x00007efde29c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #83 0x00007efde29c0352 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:0 #84 0x00007efde29c04d2 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #85 0x00007efde29c04d2 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:0 #86 0x000055ae1248a710 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #87 0x000055ae1248a710 runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #88 0x000055ae1248a710 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 #89 0x000055ae1248e4af std::__cxx11::basic_string, std::allocator>::_M_data() const /usr/include/c++/12/bits/basic_string.h:234:28 #90 0x000055ae1248e4af std::__cxx11::basic_string, std::allocator>::_M_is_local() const /usr/include/c++/12/bits/basic_string.h:275:13 #91 0x000055ae1248e4af std::__cxx11::basic_string, std::allocator>::_M_dispose() /usr/include/c++/12/bits/basic_string.h:293:18 #92 0x000055ae1248e4af std::__cxx11::basic_string, std::allocator>::~basic_string() /usr/include/c++/12/bits/basic_string.h:803:19 #93 0x000055ae1248e4af clang::ento::(anonymous namespace)::TestReturnValueUnderConstructionChecker_ReturnValueUnderConstructionChecker_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:59:3 #94 0x000055ae124a1d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #95 0x000055ae124a3309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #96 0x000055ae124a3ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #97 0x000055ae124af6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #98 0x000055ae124aef7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #99 0x000055ae1249a5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #100 0x00007efdd943ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #101 0x00007efdd943f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #102 0x000055ae123e9615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-0-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45 (19297 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-35-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=35 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 36 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetRangeIntersectTest [ OK ] RangeSetTest/3.RangeSetRangeIntersectTest (3 ms) [----------] 1 test from RangeSetTest/3 (3 ms total) [----------] 1 test from RangeSetCastToNoopTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest (3 ms) [----------] 1 test from RangeSetCastToNoopTest/7 (3 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/0.Test [ OK ] RangeSetCastToTruncationConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/0 (2 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/3 [ OK ] SValTests/SValTest.GetConstType/3 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/6 [ OK ] SValTests/SValTest.GetSymExprType/6 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/9 #0 0x00007f2197fd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f2197fceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f2197fd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f2197054ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f21a06ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x00007f21a06ce1e0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x00007f21a06ce1e0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x00007f21a06ce1e0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x00007f21a06ce1e0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x00007f21a06ce1e0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:38 #10 0x00007f21a066f34b 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 #11 0x00007f21a066f34b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #12 0x00007f21a066f34b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #13 0x00007f21a066f34b 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:50 #14 0x00007f21a069db88 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:0 #15 0x00007f21a069df5f clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #16 0x00007f21a063f9ea 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 #17 0x00007f21a063fb9e 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:223:0 #18 0x00007f21a065109a operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #19 0x00007f21a065109a clang::ento::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 0x00007f21a094c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x00007f21a094c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x00007f21a094c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #23 0x00007f21a094c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #24 0x00007f21a094c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #25 0x00007f21a094e0a7 llvm::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 0x00007f21a094e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x00007f21a094e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #28 0x00007f21a0951b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x00007f21a0951b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x00007f21a0951b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x00007f21a0951b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x00007f21a0951b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x00007f219ed0724a __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 0x00007f219ed0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x00007f219ed0724a void clang::finalize>, 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 0x00007f219ed0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x00007f21a0444bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #38 0x00007f21a03f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #39 0x00007f21a03f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #40 0x00007f21a03f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #41 0x00007f21a05c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #42 0x00007f21a05c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #43 0x00007f21a05c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #44 0x00007f21a05c073c 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:0 #45 0x00007f21a05bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #46 0x00007f21a05bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #47 0x00007f21a05bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #48 0x00007f21a05bdf32 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:0 #49 0x00007f21a05bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #50 0x00007f21a05bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #51 0x00007f21a05bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #52 0x00007f21a05bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #53 0x00007f21a05bffc9 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:218:0 #54 0x00007f21a05c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #55 0x00007f21a05c0352 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:0 #56 0x000055a69868987a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #57 0x000055a69868987a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #58 0x000055a69868987a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #59 0x000055a69868987a 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 #60 0x000055a6986abd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #61 0x000055a6986ad309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #62 0x000055a6986adab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #63 0x000055a6986b96f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #64 0x000055a6986b8f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #65 0x000055a6986a45ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #66 0x00007f219703ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #67 0x00007f219703f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #68 0x000055a6985f3615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-35-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45 (19302 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-36-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=36 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 37 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetGenericIntersectTest [ OK ] RangeSetTest/3.RangeSetGenericIntersectTest (3 ms) [----------] 1 test from RangeSetTest/3 (3 ms total) [----------] 1 test from RangeSetCastToPromotionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/0.Test [ OK ] RangeSetCastToPromotionTest/0.Test (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/0 (3 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/4 [ OK ] SValTests/SValTest.GetConstType/4 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/7 [ OK ] SValTests/SValTest.GetSymExprType/7 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/10 #0 0x00007fe0db1d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe0db1ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007fe0db1d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe0da254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe0e3c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe0e3c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe0e3c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe0e3c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe0e3c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe0e3c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe0e3c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe0e3c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe0e38d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe0e38d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe0e38d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe0e38d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe0e38d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe0e38d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe0e38d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe0e38d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe0e38d4e65 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 #21 0x00007fe0e38d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe0e38d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe0e38d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe0e38b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe0e38b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe0e38b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe0e38d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe0e38d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe0e38d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe0e38e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe0e38e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe0e38e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe0e38e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe0e38e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe0e38e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe0e38e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe0e38e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe0e38e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe0e383da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe0e383da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe0e383da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe0e383da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe0e383df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fe0e383df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fe0e383df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fe0e380953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fe0e380953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fe0e380953e 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 #49 0x00007fe0e3850e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fe0e3850e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fe0e3850e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fe0e385149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fe0e385149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fe0e385149e 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 #55 0x00007fe0e3b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fe0e3b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fe0e3b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fe0e3b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fe0e3b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fe0e3b4e0a7 llvm::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 0x00007fe0e3b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fe0e3b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fe0e3b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fe0e3b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fe0e3b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fe0e3b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fe0e3b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fe0e1f0724a __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 0x00007fe0e1f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fe0e1f0724a void clang::finalize>, 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 0x00007fe0e1f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fe0e3644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fe0e35f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fe0e35f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fe0e35f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fe0e37c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007fe0e37c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007fe0e37c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007fe0e37c073c 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:0 #80 0x00007fe0e37bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007fe0e37bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007fe0e37bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007fe0e37bdf32 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:0 #84 0x00007fe0e37bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007fe0e37bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007fe0e37bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007fe0e37bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007fe0e37bffc9 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:218:0 #89 0x00007fe0e37c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007fe0e37c0352 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:0 #91 0x0000562c0551a87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x0000562c0551a87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x0000562c0551a87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x0000562c0551a87a 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 #95 0x0000562c0553cd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000562c0553e309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000562c0553eab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x0000562c0554a6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x0000562c05549f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x0000562c055355ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007fe0da23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007fe0da23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000562c05484615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-36-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45 (19305 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-38-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=38 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 39 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetAddTest [ OK ] RangeSetTest/3.RangeSetAddTest (4 ms) [----------] 1 test from RangeSetTest/3 (4 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 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/6 [ OK ] SValTests/SValTest.GetConstType/6 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/9 [ OK ] SValTests/SValTest.GetSymExprType/9 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/12 #0 0x00007ffb027d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ffb027ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007ffb027d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ffb01854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ffb0b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ffb0b235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ffb0b235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ffb0b235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ffb0b235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ffb0b235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ffb0b235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ffb0b235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ffb0aed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ffb0aed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ffb0aed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ffb0aed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ffb0aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ffb0aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ffb0aed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ffb0aed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ffb0aed4e65 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 #21 0x00007ffb0aed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ffb0aed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ffb0aed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ffb0aeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ffb0aeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ffb0aeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ffb0aed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ffb0aed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ffb0aed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ffb0aee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ffb0aee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ffb0aee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ffb0aee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ffb0aee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ffb0aee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ffb0aee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ffb0aee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ffb0aee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ffb0ae3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ffb0ae3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ffb0ae3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ffb0ae3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ffb0ae3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ffb0ae3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ffb0ae3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ffb0ae0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ffb0ae0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ffb0ae0953e 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 #49 0x00007ffb0ae50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ffb0ae50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ffb0ae50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ffb0ae5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ffb0ae5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ffb0ae5149e 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 #55 0x00007ffb0b14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ffb0b14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ffb0b14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ffb0b14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ffb0b14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ffb0b14e0a7 llvm::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 0x00007ffb0b14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ffb0b14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ffb0b151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ffb0b151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ffb0b151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ffb0b151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ffb0b151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ffb0950724a __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 0x00007ffb0950724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ffb0950724a void clang::finalize>, 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 0x00007ffb0950724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ffb0ac44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ffb0abf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ffb0abf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ffb0abf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ffb0adc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007ffb0adc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007ffb0adc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007ffb0adc073c 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:0 #80 0x00007ffb0adbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007ffb0adbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007ffb0adbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007ffb0adbdf32 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:0 #84 0x00007ffb0adbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007ffb0adbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007ffb0adbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007ffb0adbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007ffb0adbffc9 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:218:0 #89 0x00007ffb0adc0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007ffb0adc0352 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:0 #91 0x000055fea0efc87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055fea0efc87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055fea0efc87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055fea0efc87a 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 #95 0x000055fea0f1ed4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055fea0f20309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055fea0f20ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055fea0f2c6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055fea0f2bf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055fea0f175ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007ffb0183ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007ffb0183f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055fea0e66615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-38-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45 (19306 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-41-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=41 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 42 of 45. [==========] Running 7 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetNegateTest [ OK ] RangeSetTest/4.RangeSetNegateTest (4 ms) [----------] 1 test from RangeSetTest/4 (4 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 (3 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/6.Test [ OK ] RangeSetCastToTruncationConversionTest/6.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/6 (1 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/9 [ OK ] SValTests/SValTest.GetConstType/9 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/12 [ OK ] SValTests/SValTest.GetSymExprType/12 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/15 #0 0x00007f0f753d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f0f753ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f0f753d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f0f74454ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f0f7de35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f0f7de35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f0f7de35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f0f7de35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f0f7de35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f0f7de35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f0f7de35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f0f7de35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f0f7dad408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f0f7dad408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f0f7dad408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f0f7dad408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f0f7dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f0f7dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f0f7dad408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f0f7dad408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f0f7dad4e65 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 #21 0x00007f0f7dad4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f0f7dad4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f0f7dad4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f0f7dab3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f0f7dab3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f0f7dab3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f0f7dad643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f0f7dad643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f0f7dad643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f0f7dae8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f0f7dae8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f0f7dae8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f0f7dae8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f0f7dae8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f0f7dae8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f0f7dae9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f0f7dae9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f0f7dae9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f0f7da3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f0f7da3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f0f7da3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f0f7da3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f0f7da3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f0f7da3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f0f7da3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f0f7da0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f0f7da0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f0f7da0953e 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 #49 0x00007f0f7da50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f0f7da50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f0f7da50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f0f7da5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f0f7da5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f0f7da5149e 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 #55 0x00007f0f7dd4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f0f7dd4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f0f7dd4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f0f7dd4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f0f7dd4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f0f7dd4e0a7 llvm::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 0x00007f0f7dd4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f0f7dd4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f0f7dd51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f0f7dd51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f0f7dd51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f0f7dd51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f0f7dd51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f0f7c10724a __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 0x00007f0f7c10724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f0f7c10724a void clang::finalize>, 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 0x00007f0f7c10724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f0f7d844bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f0f7d7f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f0f7d7f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f0f7d7f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f0f7d9c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f0f7d9c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f0f7d9c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f0f7d9c073c 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:0 #80 0x00007f0f7d9bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f0f7d9bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f0f7d9bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f0f7d9bdf32 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:0 #84 0x00007f0f7d9bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f0f7d9bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f0f7d9bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f0f7d9bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f0f7d9bffc9 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:218:0 #89 0x00007f0f7d9c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f0f7d9c0352 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:0 #91 0x0000562825dc387a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x0000562825dc387a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x0000562825dc387a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x0000562825dc387a 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 #95 0x0000562825de5d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000562825de7309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000562825de7ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x0000562825df36f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x0000562825df2f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x0000562825dde5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f0f7443ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f0f7443f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000562825d2d615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-41-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45 (19316 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-29-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=29 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 30 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetContainsTest [ OK ] RangeSetTest/2.RangeSetContainsTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 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 RangeSetCastToPromotionConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/6.Test [ OK ] RangeSetCastToPromotionConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/6 (2 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SearchInParentPackageTests [ OK ] StaticAnalyzerOptions.SearchInParentPackageTests (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/0 [ OK ] SValTests/SValTest.GetSymExprType/0 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/3 #0 0x00007ff8e01d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff8e01ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007ff8e01d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff8df254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff8e8c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff8e8c35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff8e8c35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff8e8c35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff8e8c35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff8e8c35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff8e8c35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff8e8c35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff8e88d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff8e88d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff8e88d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff8e88d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff8e88d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff8e88d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff8e88d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff8e88d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff8e88d4e65 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 #21 0x00007ff8e88d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff8e88d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff8e88d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff8e88b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff8e88b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff8e88b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff8e88d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff8e88d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff8e88d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff8e88e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff8e88e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff8e88e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff8e88e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff8e88e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff8e88e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff8e88e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff8e88e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff8e88e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff8e883da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff8e883da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff8e883da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff8e883da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff8e883df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff8e883df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff8e883df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff8e880953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff8e880953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff8e880953e 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 #49 0x00007ff8e8850e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff8e8850e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff8e8850e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ff8e885149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff8e885149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff8e885149e 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 #55 0x00007ff8e8b4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff8e8b4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff8e8b4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff8e8b4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff8e8b4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff8e8b4e0a7 llvm::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 0x00007ff8e8b4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff8e8b4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff8e8b51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff8e8b51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff8e8b51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff8e8b51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff8e8b51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff8e6f0724a __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 0x00007ff8e6f0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff8e6f0724a void clang::finalize>, 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 0x00007ff8e6f0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff8e8644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff8e85f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff8e85f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff8e85f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff8e87c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007ff8e87c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007ff8e87c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007ff8e87c073c 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:0 #80 0x00007ff8e87bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007ff8e87bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007ff8e87bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007ff8e87bdf32 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:0 #84 0x00007ff8e87bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007ff8e87bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007ff8e87bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007ff8e87bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007ff8e87bffc9 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:218:0 #89 0x00007ff8e87c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007ff8e87c0352 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:0 #91 0x000055c2d41f287a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055c2d41f287a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055c2d41f287a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055c2d41f287a 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 #95 0x000055c2d4214d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055c2d4216309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055c2d4216ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055c2d42226f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055c2d4221f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055c2d420d5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007ff8df23ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007ff8df23f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055c2d415c615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-29-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45 (19317 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-27-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=27 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 28 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetRangeIntersectTest [ OK ] RangeSetTest/2.RangeSetRangeIntersectTest (3 ms) [----------] 1 test from RangeSetTest/2 (4 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetUniteTest [ OK ] RangeSetTest/7.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/7 (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 getAPSIntTypeTest [ RUN ] getAPSIntTypeTest.APSIntTypeTests [ OK ] getAPSIntTypeTest.APSIntTypeTests (2 ms) [----------] 1 test from getAPSIntTypeTest (2 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/19 [ OK ] SValTests/SValTest.GetLocAsIntType/19 (4 ms) [ RUN ] SValTests/SValTest.GetCompoundType/1 #0 0x00007f5d6dbd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5d6dbceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f5d6dbd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5d6cc54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5d76635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5d76635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5d76635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5d76635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5d76635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5d76635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5d76635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5d76635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5d762d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5d762d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5d762d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5d762d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5d762d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5d762d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5d762d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5d762d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5d762d4e65 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 #21 0x00007f5d762d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5d762d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5d762d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5d762b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5d762b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5d762b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5d762d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5d762d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5d762d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5d762e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5d762e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5d762e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5d762e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5d762e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5d762e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5d762e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5d762e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5d762e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5d7623da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5d7623da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5d7623da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5d7623da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5d7623df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f5d7623df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f5d7623df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f5d7620953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f5d7620953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f5d7620953e 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 #49 0x00007f5d76250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f5d76250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f5d76250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f5d7625149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f5d7625149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f5d7625149e 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 #55 0x00007f5d7654c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f5d7654c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f5d7654c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f5d7654c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f5d7654c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f5d7654e0a7 llvm::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 0x00007f5d7654e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f5d7654e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f5d76551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f5d76551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f5d76551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f5d76551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f5d76551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f5d7490724a __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 0x00007f5d7490724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f5d7490724a void clang::finalize>, 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 0x00007f5d7490724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f5d76044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f5d75ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f5d75ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f5d75ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f5d761c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f5d761c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f5d761c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f5d761c073c 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:0 #80 0x00007f5d761bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f5d761bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f5d761bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f5d761bdf32 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:0 #84 0x00007f5d761bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f5d761bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f5d761bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f5d761bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f5d761bffc9 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:218:0 #89 0x00007f5d761c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f5d761c0352 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:0 #91 0x000056276c94a87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000056276c94a87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000056276c94a87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000056276c94a87a 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 #95 0x000056276c96cd4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000056276c96e309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000056276c96eab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000056276c97a6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000056276c979f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000056276c9655ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f5d6cc3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f5d6cc3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000056276c8b4615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-27-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45 (19318 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-39-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=39 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 40 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetDeletePointTest [ OK ] RangeSetTest/3.RangeSetDeletePointTest (3 ms) [----------] 1 test from RangeSetTest/3 (4 ms total) [----------] 1 test from RangeSetCastToPromotionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/3.Test [ OK ] RangeSetCastToPromotionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/3 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/4.Test [ OK ] RangeSetCastToTruncationConversionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/4 (2 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/7 [ OK ] SValTests/SValTest.GetConstType/7 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/10 [ OK ] SValTests/SValTest.GetSymExprType/10 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/13 #0 0x00007ff7f6dd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007ff7f6dceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007ff7f6dd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007ff7f5e54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007ff7ff835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007ff7ff835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007ff7ff835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007ff7ff835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007ff7ff835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007ff7ff835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007ff7ff835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007ff7ff835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007ff7ff4d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007ff7ff4d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007ff7ff4d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007ff7ff4d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007ff7ff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007ff7ff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007ff7ff4d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007ff7ff4d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007ff7ff4d4e65 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 #21 0x00007ff7ff4d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007ff7ff4d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007ff7ff4d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007ff7ff4b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007ff7ff4b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007ff7ff4b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007ff7ff4d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007ff7ff4d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007ff7ff4d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007ff7ff4e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007ff7ff4e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007ff7ff4e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007ff7ff4e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007ff7ff4e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007ff7ff4e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007ff7ff4e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007ff7ff4e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007ff7ff4e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007ff7ff43da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007ff7ff43da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007ff7ff43da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007ff7ff43da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007ff7ff43df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007ff7ff43df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007ff7ff43df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007ff7ff40953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007ff7ff40953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007ff7ff40953e 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 #49 0x00007ff7ff450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007ff7ff450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007ff7ff450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007ff7ff45149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007ff7ff45149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007ff7ff45149e 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 #55 0x00007ff7ff74c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007ff7ff74c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007ff7ff74c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007ff7ff74c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007ff7ff74c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007ff7ff74e0a7 llvm::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 0x00007ff7ff74e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007ff7ff74e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007ff7ff751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007ff7ff751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007ff7ff751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007ff7ff751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007ff7ff751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007ff7fdb0724a __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 0x00007ff7fdb0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007ff7fdb0724a void clang::finalize>, 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 0x00007ff7fdb0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007ff7ff244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007ff7ff1f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007ff7ff1f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007ff7ff1f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007ff7ff3c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007ff7ff3c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007ff7ff3c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007ff7ff3c073c 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:0 #80 0x00007ff7ff3bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007ff7ff3bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007ff7ff3bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007ff7ff3bdf32 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:0 #84 0x00007ff7ff3bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007ff7ff3bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007ff7ff3bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007ff7ff3bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007ff7ff3bffc9 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:218:0 #89 0x00007ff7ff3c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007ff7ff3c0352 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:0 #91 0x0000560068aa187a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x0000560068aa187a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x0000560068aa187a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x0000560068aa187a 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 #95 0x0000560068ac3d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000560068ac5309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000560068ac5ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x0000560068ad16f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x0000560068ad0f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x0000560068abc5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007ff7f5e3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007ff7f5e3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000560068a0b615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-39-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45 (19319 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-25-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=25 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 26 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetNegateTest [ OK ] RangeSetTest/2.RangeSetNegateTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 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 RangeSetCastToPromotionConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/2.Test [ OK ] RangeSetCastToPromotionConversionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/2 (2 ms total) [----------] 1 test from CallDescription [ 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 (7 ms) [----------] 1 test from CallDescription (7 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/17 [ OK ] SValTests/SValTest.GetLocAsIntType/17 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/20 [ OK ] SValTests/SValTest.GetPointerType/20 (2 ms) [ RUN ] SValTests/SValTest.GetThisType/2 #0 0x00007f5a549d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f5a549ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f5a549d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f5a53a54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f5a5d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f5a5d435406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f5a5d435406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f5a5d435406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f5a5d435406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f5a5d435406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f5a5d435406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f5a5d435406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f5a5d0d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f5a5d0d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f5a5d0d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f5a5d0d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f5a5d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f5a5d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f5a5d0d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f5a5d0d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f5a5d0d4e65 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 #21 0x00007f5a5d0d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f5a5d0d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f5a5d0d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f5a5d0b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f5a5d0b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f5a5d0b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f5a5d0d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f5a5d0d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f5a5d0d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f5a5d0e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f5a5d0e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f5a5d0e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f5a5d0e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f5a5d0e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f5a5d0e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f5a5d0e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f5a5d0e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f5a5d0e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f5a5d03da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f5a5d03da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f5a5d03da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f5a5d03da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f5a5d03df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f5a5d03df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f5a5d03df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f5a5d00953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f5a5d00953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f5a5d00953e 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 #49 0x00007f5a5d050e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f5a5d050e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f5a5d050e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f5a5d05149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f5a5d05149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f5a5d05149e 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 #55 0x00007f5a5d34c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f5a5d34c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f5a5d34c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f5a5d34c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f5a5d34c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f5a5d34e0a7 llvm::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 0x00007f5a5d34e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f5a5d34e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f5a5d351b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f5a5d351b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f5a5d351b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f5a5d351b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f5a5d351b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f5a5b70724a __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 0x00007f5a5b70724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f5a5b70724a void clang::finalize>, 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 0x00007f5a5b70724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f5a5ce44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f5a5cdf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f5a5cdf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f5a5cdf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f5a5cfc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f5a5cfc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f5a5cfc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f5a5cfc073c 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:0 #80 0x00007f5a5cfbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f5a5cfbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f5a5cfbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f5a5cfbdf32 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:0 #84 0x00007f5a5cfbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f5a5cfbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f5a5cfbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f5a5cfbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f5a5cfbffc9 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:218:0 #89 0x00007f5a5cfc0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f5a5cfc0352 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:0 #91 0x000055f3eaa9d0ba std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055f3eaa9d0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055f3eaa9d0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055f3eaa9d0ba clang::ento::(anonymous namespace)::SValTest_GetThisType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:342:1 #95 0x000055f3eaabed4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055f3eaac0309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055f3eaac0ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055f3eaacc6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055f3eaacbf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055f3eaab75ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f5a53a3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f5a53a3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055f3eaa06615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-25-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45 (19320 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-34-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=34 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 35 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetPointIntersectTest [ OK ] RangeSetTest/3.RangeSetPointIntersectTest (3 ms) [----------] 1 test from RangeSetTest/3 (3 ms total) [----------] 1 test from RangeSetCastToNoopTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest (3 ms) [----------] 1 test from RangeSetCastToNoopTest/6 (3 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/2 [ OK ] SValTests/SValTest.GetConstType/2 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/5 [ OK ] SValTests/SValTest.GetSymExprType/5 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/8 #0 0x00007fe8c51d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fe8c51ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007fe8c51d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fe8c4254ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fe8cdc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fe8cdc35406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fe8cdc35406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fe8cdc35406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fe8cdc35406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fe8cdc35406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fe8cdc35406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fe8cdc35406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fe8cd8d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fe8cd8d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fe8cd8d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fe8cd8d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fe8cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fe8cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fe8cd8d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fe8cd8d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fe8cd8d4e65 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 #21 0x00007fe8cd8d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fe8cd8d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fe8cd8d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fe8cd8b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fe8cd8b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fe8cd8b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fe8cd8d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fe8cd8d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fe8cd8d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fe8cd8e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fe8cd8e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fe8cd8e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fe8cd8e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fe8cd8e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fe8cd8e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fe8cd8e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fe8cd8e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fe8cd8e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fe8cd83da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fe8cd83da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fe8cd83da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fe8cd83da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fe8cd83df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fe8cd83df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fe8cd83df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fe8cd80953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fe8cd80953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fe8cd80953e 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 #49 0x00007fe8cd850e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fe8cd850e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fe8cd850e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fe8cd85149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fe8cd85149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fe8cd85149e 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 #55 0x00007fe8cdb4c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fe8cdb4c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fe8cdb4c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fe8cdb4c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fe8cdb4c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fe8cdb4e0a7 llvm::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 0x00007fe8cdb4e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fe8cdb4e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fe8cdb51b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fe8cdb51b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fe8cdb51b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fe8cdb51b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fe8cdb51b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fe8cbf0724a __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 0x00007fe8cbf0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fe8cbf0724a void clang::finalize>, 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 0x00007fe8cbf0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fe8cd644bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fe8cd5f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fe8cd5f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fe8cd5f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fe8cd7c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007fe8cd7c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007fe8cd7c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007fe8cd7c073c 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:0 #80 0x00007fe8cd7bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007fe8cd7bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007fe8cd7bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007fe8cd7bdf32 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:0 #84 0x00007fe8cd7bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007fe8cd7bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007fe8cd7bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007fe8cd7bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007fe8cd7bffc9 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:218:0 #89 0x00007fe8cd7c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007fe8cd7c0352 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:0 #91 0x000055c53b13e87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055c53b13e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055c53b13e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055c53b13e87a 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 #95 0x000055c53b160d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055c53b162309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055c53b162ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055c53b16e6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055c53b16df7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055c53b1595ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007fe8c423ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007fe8c423f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055c53b0a8615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-34-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45 (19321 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-43-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=43 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 44 of 45. [==========] Running 7 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetRangeIntersectTest [ OK ] RangeSetTest/4.RangeSetRangeIntersectTest (4 ms) [----------] 1 test from RangeSetTest/4 (4 ms total) [----------] 1 test from RangeSetCastToPromotionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/7.Test [ OK ] RangeSetCastToPromotionTest/7.Test (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/7 (3 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) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/11 [ OK ] SValTests/SValTest.GetConstType/11 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/14 [ OK ] SValTests/SValTest.GetSymExprType/14 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/17 #0 0x00007f77867d0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f77867ceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f77867d1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7785854ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f778f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f778f235406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f778f235406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f778f235406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f778f235406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f778f235406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f778f235406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f778f235406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f778eed408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f778eed408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f778eed408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f778eed408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f778eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f778eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f778eed408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f778eed408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f778eed4e65 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 #21 0x00007f778eed4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f778eed4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f778eed4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f778eeb3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f778eeb3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f778eeb3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f778eed643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f778eed643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f778eed643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f778eee8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f778eee8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f778eee8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f778eee8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f778eee8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f778eee8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f778eee9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f778eee9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f778eee9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f778ee3da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f778ee3da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f778ee3da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f778ee3da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f778ee3df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f778ee3df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f778ee3df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f778ee0953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f778ee0953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f778ee0953e 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 #49 0x00007f778ee50e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f778ee50e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f778ee50e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f778ee5149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f778ee5149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f778ee5149e 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 #55 0x00007f778f14c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f778f14c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f778f14c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f778f14c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f778f14c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f778f14e0a7 llvm::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 0x00007f778f14e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f778f14e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f778f151b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f778f151b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f778f151b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f778f151b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f778f151b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f778d50724a __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 0x00007f778d50724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f778d50724a void clang::finalize>, 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 0x00007f778d50724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f778ec44bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f778ebf98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f778ebf98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f778ebf98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f778edc073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f778edc073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f778edc073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f778edc073c 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:0 #80 0x00007f778edbdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f778edbdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f778edbdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f778edbdf32 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:0 #84 0x00007f778edbf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f778edbf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f778edbf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f778edbf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f778edbffc9 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:218:0 #89 0x00007f778edc0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f778edc0352 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:0 #91 0x000055b25c84e87a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055b25c84e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055b25c84e87a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055b25c84e87a 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 #95 0x000055b25c870d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055b25c872309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055b25c872ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055b25c87e6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055b25c87df7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055b25c8695ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f778583ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f778583f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055b25c7b8615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-43-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45 (19322 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-33-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=33 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 34 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetNegateTest [ OK ] RangeSetTest/3.RangeSetNegateTest (3 ms) [----------] 1 test from RangeSetTest/3 (3 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 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) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/1 [ OK ] SValTests/SValTest.GetConstType/1 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/4 [ OK ] SValTests/SValTest.GetSymExprType/4 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/7 [ OK ] SValTests/SValTest.GetCompoundType/7 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/10 #0 0x00007f7e99bd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007f7e99bceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007f7e99bd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007f7e98c54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007f7ea2635406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007f7ea2635406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007f7ea2635406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007f7ea2635406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007f7ea2635406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007f7ea2635406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007f7ea2635406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007f7ea2635406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007f7ea22d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007f7ea22d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007f7ea22d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007f7ea22d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007f7ea22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007f7ea22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007f7ea22d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007f7ea22d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007f7ea22d4e65 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 #21 0x00007f7ea22d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007f7ea22d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007f7ea22d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007f7ea22b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007f7ea22b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007f7ea22b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007f7ea22d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007f7ea22d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007f7ea22d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007f7ea22e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007f7ea22e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007f7ea22e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007f7ea22e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007f7ea22e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007f7ea22e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007f7ea22e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007f7ea22e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007f7ea22e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007f7ea223da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007f7ea223da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007f7ea223da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007f7ea223da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007f7ea223df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007f7ea223df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007f7ea223df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007f7ea220953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007f7ea220953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007f7ea220953e 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 #49 0x00007f7ea2250e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007f7ea2250e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007f7ea2250e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007f7ea225149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007f7ea225149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007f7ea225149e 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 #55 0x00007f7ea254c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007f7ea254c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007f7ea254c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007f7ea254c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007f7ea254c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007f7ea254e0a7 llvm::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 0x00007f7ea254e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007f7ea254e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007f7ea2551b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007f7ea2551b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007f7ea2551b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007f7ea2551b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007f7ea2551b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007f7ea090724a __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 0x00007f7ea090724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007f7ea090724a void clang::finalize>, 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 0x00007f7ea090724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007f7ea2044bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007f7ea1ff98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007f7ea1ff98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007f7ea1ff98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007f7ea21c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007f7ea21c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007f7ea21c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007f7ea21c073c 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:0 #80 0x00007f7ea21bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007f7ea21bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007f7ea21bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007f7ea21bdf32 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:0 #84 0x00007f7ea21bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007f7ea21bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007f7ea21bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007f7ea21bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007f7ea21bffc9 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:218:0 #89 0x00007f7ea21c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007f7ea21c0352 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:0 #91 0x0000561f8eebd0ba std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x0000561f8eebd0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x0000561f8eebd0ba runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x0000561f8eebd0ba clang::ento::(anonymous namespace)::SValTest_GetThisType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:342:1 #95 0x0000561f8eeded4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x0000561f8eee0309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x0000561f8eee0ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x0000561f8eeec6f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x0000561f8eeebf7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x0000561f8eed75ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007f7e98c3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007f7e98c3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x0000561f8ee26615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-33-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45 (19323 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-40-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=40 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 41 of 45. [==========] Running 8 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetUniteTest [ OK ] RangeSetTest/3.RangeSetUniteTest (4 ms) [----------] 1 test from RangeSetTest/3 (4 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 RangeSetCastToTruncationConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/5.Test [ OK ] RangeSetCastToTruncationConversionTest/5.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/5 (1 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/8 [ OK ] SValTests/SValTest.GetConstType/8 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/11 [ OK ] SValTests/SValTest.GetSymExprType/11 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/14 #0 0x00007fa9bbdd0ac8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9d0ac8) #1 0x00007fa9bbdceea2 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9ceea2) #2 0x00007fa9bbdd1148 (/usr/lib64/libLLVM-17.so+0x9d1148) #3 0x00007fa9bae54ad0 __restore_rt (/usr/lib64/libc.so.6+0x3dad0) #4 0x00007fa9c4835406 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x00007fa9c4835406 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x00007fa9c4835406 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x00007fa9c4835406 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x00007fa9c4835406 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x00007fa9c4835406 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x00007fa9c4835406 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x00007fa9c4835406 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x00007fa9c44d408c assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x00007fa9c44d408c assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x00007fa9c44d408c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x00007fa9c44d408c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x00007fa9c44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x00007fa9c44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x00007fa9c44d408c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x00007fa9c44d408c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x00007fa9c44d4e65 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 #21 0x00007fa9c44d4e65 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x00007fa9c44d4e65 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x00007fa9c44d4e65 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x00007fa9c44b3d84 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x00007fa9c44b3d84 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x00007fa9c44b3d84 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x00007fa9c44d643f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x00007fa9c44d643f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x00007fa9c44d643f clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x00007fa9c44e8df8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x00007fa9c44e8df8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x00007fa9c44e8df8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:0 #33 0x00007fa9c44e8e73 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x00007fa9c44e8e73 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x00007fa9c44e8e73 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x00007fa9c44e9060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x00007fa9c44e9060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x00007fa9c44e9060 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x00007fa9c443da8f llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x00007fa9c443da8f llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x00007fa9c443da8f operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x00007fa9c443da8f std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::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:0 #43 0x00007fa9c443df3b llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x00007fa9c443df3b llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x00007fa9c443df3b clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x00007fa9c440953e llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x00007fa9c440953e llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x00007fa9c440953e 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 #49 0x00007fa9c4450e97 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x00007fa9c4450e97 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x00007fa9c4450e97 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x00007fa9c445149e llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x00007fa9c445149e llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x00007fa9c445149e 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 #55 0x00007fa9c474c9f2 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x00007fa9c474c9f2 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x00007fa9c474c9f2 clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x00007fa9c474c9f2 RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x00007fa9c474c9f2 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x00007fa9c474e0a7 llvm::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 0x00007fa9c474e0a7 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x00007fa9c474e0a7 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x00007fa9c4751b9b std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x00007fa9c4751b9b std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x00007fa9c4751b9b std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x00007fa9c4751b9b runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x00007fa9c4751b9b (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x00007fa9c2b0724a __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 0x00007fa9c2b0724a std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x00007fa9c2b0724a void clang::finalize>, 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 0x00007fa9c2b0724a clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x00007fa9c4244bc9 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x00007fa9c41f98e7 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x00007fa9c41f98e7 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x00007fa9c41f98e7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x00007fa9c43c073c std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x00007fa9c43c073c std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x00007fa9c43c073c clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x00007fa9c43c073c 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:0 #80 0x00007fa9c43bdf32 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x00007fa9c43bdf32 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x00007fa9c43bdf32 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x00007fa9c43bdf32 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:0 #84 0x00007fa9c43bf95c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x00007fa9c43bf95c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x00007fa9c43bf95c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x00007fa9c43bf95c clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x00007fa9c43bffc9 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:218:0 #89 0x00007fa9c43c0352 std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #90 0x00007fa9c43c0352 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:0 #91 0x000055ac6f28287a std::unique_ptr>::~unique_ptr() /usr/include/c++/12/bits/unique_ptr.h:395:12 #92 0x000055ac6f28287a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #93 0x000055ac6f28287a runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #94 0x000055ac6f28287a 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 #95 0x000055ac6f2a4d4f testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x113d4f) #96 0x000055ac6f2a6309 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115309) #97 0x000055ac6f2a6ab1 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x115ab1) #98 0x000055ac6f2b26f3 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1216f3) #99 0x000055ac6f2b1f7c testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x120f7c) #100 0x000055ac6f29d5ec main (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10c5ec) #101 0x00007fa9bae3ef50 __libc_start_call_main (/usr/lib64/libc.so.6+0x27f50) #102 0x00007fa9bae3f009 __libc_start_main@GLIBC_2.2.5 (/usr/lib64/libc.so.6+0x28009) #103 0x000055ac6f1ec615 _start (/builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5b615) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-550709-40-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (662): 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/initialization.cpp 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-string.mm 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 :: 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/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45 Testing Time: 175.34s Skipped : 35 Unsupported : 160 Passed : 35807 Expectedly Failed: 28 Failed : 662 FAILED: CMakeFiles/check-all /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/CMakeFiles/check-all cd /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu && /usr/bin/python3.11 /usr/bin/lit -sv --param USE_Z3_SOLVER=0 /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/test /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/pseudo/test /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/clangd/test/../unittests /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/clangd/test /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/tools/extra/test /builddir/build/BUILD/clang-17.0.6.src/x86_64-OpenCloudOS-linux-gnu/test ninja: build stopped: subcommand failed. + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clang-17.0.6-4.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pJTQb7 + umask 022 + cd /builddir/build/BUILD + cd clang-17.0.6.src + LICENSEDIR=/builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/licenses/clang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/licenses/clang + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/share/licenses/clang + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-17 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-cl warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-cpp Provides: clang = 17.0.6-4.ocs23 clang(major) = 17 clang(x86-64) = 17.0.6-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(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-4.ocs23.x86_64 Provides: clang-libs = 17.0.6-4.ocs23 clang-libs(x86-64) = 17.0.6-4.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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(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-4.ocs23.x86_64 Provides: clang-devel = 17.0.6-4.ocs23 clang-devel(x86-64) = 17.0.6-4.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(x86-64) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) Processing files: clang-resource-filesystem-17.0.6-4.ocs23.x86_64 Provides: clang-resource-filesystem = 17.0.6-4.ocs23 clang-resource-filesystem(major) = 17 clang-resource-filesystem(x86-64) = 17.0.6-4.ocs23 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-4.ocs23.noarch Provides: clang-analyzer = 17.0.6-4.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-4.ocs23.x86_64 warning: absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Provides: clang-tools-extra = 17.0.6-4.ocs23 clang-tools-extra(x86-64) = 17.0.6-4.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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(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-4.ocs23.x86_64 Provides: git-clang-format = 17.0.6-4.ocs23 git-clang-format(x86-64) = 17.0.6-4.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-4.ocs23.x86_64 Provides: python-clang = 17.0.6-4.ocs23 python3-clang = 17.0.6-4.ocs23 python3-clang(x86-64) = 17.0.6-4.ocs23 python3.11-clang = 17.0.6-4.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-4.ocs23 Processing files: clang-debugsource-17.0.6-4.ocs23.x86_64 Provides: clang-debugsource = 17.0.6-4.ocs23 clang-debugsource(x86-64) = 17.0.6-4.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-4.ocs23.x86_64 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-17-17.0.6-4.ocs23.x86_64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-cl-17.0.6-4.ocs23.x86_64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-4.ocs23.x86_64.debug Provides: clang-debuginfo = 17.0.6-4.ocs23 clang-debuginfo(x86-64) = 17.0.6-4.ocs23 debuginfo(build-id) = 27b296cb950b153b9881ca8f5ccade7456f1ee17 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(x86-64) = 17.0.6-4.ocs23 Processing files: clang-libs-debuginfo-17.0.6-4.ocs23.x86_64 Provides: clang-libs-debuginfo = 17.0.6-4.ocs23 clang-libs-debuginfo(x86-64) = 17.0.6-4.ocs23 debuginfo(build-id) = 563fee1c215f4272a1c9d48fd1b372e8c98ca977 debuginfo(build-id) = e704807c41b4ad9409cdeaef4584441e7757cb3e libclang-cpp.so.17-17.0.6-4.ocs23.x86_64.debug()(64bit) libclang.so.17.0.6-17.0.6-4.ocs23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(x86-64) = 17.0.6-4.ocs23 Processing files: clang-tools-extra-debuginfo-17.0.6-4.ocs23.x86_64 Provides: clang-tools-extra-debuginfo = 17.0.6-4.ocs23 clang-tools-extra-debuginfo(x86-64) = 17.0.6-4.ocs23 debuginfo(build-id) = 02f6e014776d3c54bd10144abb06c2687c1f7588 debuginfo(build-id) = 040692d8c86fc2638cc8f1f1fd12e43d87eaf0ee debuginfo(build-id) = 12a2feb0cef9152d5b683cea6c50f7b89f157209 debuginfo(build-id) = 16426b42fd7242db725d0134410ea38cbf730544 debuginfo(build-id) = 1d20f693d0c0592d785efaaed7dcc0296fa325bb debuginfo(build-id) = 1f348bc024d839c9ad8a31059825840c71b1486b debuginfo(build-id) = 2063e098fe9ca32ed51fe78ef4bc22871b3523d1 debuginfo(build-id) = 29bd15313dacb442838ae13cdcb65ede32b9cb18 debuginfo(build-id) = 2a9e7d5e987a3ec0a4b625b9546072fa1219ff88 debuginfo(build-id) = 2bc0227eb0904d497fb333f76a5de3c42a724a92 debuginfo(build-id) = 361c773d036442bbc27b2d88616ad9d04d60840c debuginfo(build-id) = 39ad5d85437886345288c428933a2f457de6eab8 debuginfo(build-id) = 3f2445d868cf56ab635d4a2552d6abae905c1903 debuginfo(build-id) = 4680b5083d521e54d580a7aaf921a5bdbd1c22fe debuginfo(build-id) = 519c6303753098eb045dec4a98749128a9540712 debuginfo(build-id) = 519f67823f9ae52e72883f15079c61db5e52ea02 debuginfo(build-id) = 6f08e3928622dc8cacdbf8420c0805bd45a3eb7f debuginfo(build-id) = 757a8a84e73cd75889b8510a4d00df74a4dc0b11 debuginfo(build-id) = 7966603a8c12ba465028de5d9e039b58b4ae5200 debuginfo(build-id) = a088fd9cc9474fe04d1541efc6e50e8823d82433 debuginfo(build-id) = a4cf4792e7d6a22deb301b3cf17f98de485fe585 debuginfo(build-id) = ad47469e6ac89dddc77986042259ad7cc5771f4c debuginfo(build-id) = b0f1ea9aafb4e0ddd93e4230db966f6fa5e70859 debuginfo(build-id) = bc3ac489a1541fedaf65ca271a7ae60288d7815d debuginfo(build-id) = bd78cf510e7b89c1a5c9d1a4f81aa8fc1ae2118e debuginfo(build-id) = c89653c4d416e34343c1ef77ccb339f595a72d56 debuginfo(build-id) = cf979d44e08ad6699e67893a2b2d378b07b0be5b debuginfo(build-id) = eca3c28de2155c4de80083f9345da39e3fabd1d7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(x86-64) = 17.0.6-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64 Wrote: /builddir/build/RPMS/clang-resource-filesystem-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/git-clang-format-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-clang-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-analyzer-17.0.6-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/clang-devel-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-debuginfo-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-debugsource-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-libs-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-libs-debuginfo-17.0.6-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-debuginfo-17.0.6-4.ocs23.x86_64.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-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-17 Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang-cl Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/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-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-17-17.0.6-4.ocs23.x86_64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-cl-17.0.6-4.ocs23.x86_64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang++-17.0.6-4.ocs23.x86_64.debug and /builddir/build/BUILDROOT/clang-17.0.6-4.ocs23.x86_64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-4.ocs23.x86_64.debug Child return code was: 0